Commit d7028d38 authored by irving's avatar irving

Desactiva el botón de chart type al entrar en modo comparación

parent bf9bd135
...@@ -170,7 +170,8 @@ function compare(labels) { ...@@ -170,7 +170,8 @@ function compare(labels) {
$(".showChart").show(); $(".showChart").show();
$(".hideChart").hide(); $(".hideChart").hide();
//desactiva el botón de mostrar la gráfica //desactiva el botón de mostrar la gráfica
$('#showGraph').attr('disabled',true); $('#showGraph').attr('disabled',true);
$('#chartType').attr('disabled',true);
//quita todas las capas SCL y deja sólo TCI //quita todas las capas SCL y deja sólo TCI
removeLayer(); removeLayer();
...@@ -248,6 +249,7 @@ function exitCompare() { ...@@ -248,6 +249,7 @@ function exitCompare() {
//activa el boton de la grafica //activa el boton de la grafica
$('#showGraph').attr('disabled',false); $('#showGraph').attr('disabled',false);
$('#chartType').attr('disabled',false);
} }
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</li> </li>
{% endif %} {% endif %}
<li class="treeview"> <li class="treeview">
<a href="#"> <a href="#" id="chartType">
<i class="fa fa-area-chart"></i> <i class="fa fa-area-chart"></i>
<span>Chart Type</span> <span>Chart Type</span>
<span class="pull-right-container"> <span class="pull-right-container">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment