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) {
$(".showChart").show();
$(".hideChart").hide();
//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
removeLayer();
......@@ -248,6 +249,7 @@ function exitCompare() {
//activa el boton de la grafica
$('#showGraph').attr('disabled',false);
$('#chartType').attr('disabled',false);
}
......
......@@ -80,7 +80,7 @@
</li>
{% endif %}
<li class="treeview">
<a href="#">
<a href="#" id="chartType">
<i class="fa fa-area-chart"></i>
<span>Chart Type</span>
<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