Merge branch 'ent-12417-grafica-de-umbrales-numericos-en-modulos-alfanumericos' into 'develop'
Ent 12417 grafica de umbrales numericos en modulos alfanumericos See merge request artica/pandorafms!6646
This commit is contained in:
commit
6f4d519b32
|
@ -2000,7 +2000,11 @@ ui_require_jquery_file('json');
|
||||||
$('#' + thisLabel).prop('checked', true);
|
$('#' + thisLabel).prop('checked', true);
|
||||||
$('#' + thisLabel).siblings().prop('checked', false);
|
$('#' + thisLabel).siblings().prop('checked', false);
|
||||||
|
|
||||||
if ($('#radius-percentage_warning').prop('checked') === true || $('#radius-percentage_critical').prop('checked') === true) {
|
var type_selected = $("#id_module_type").val();
|
||||||
|
var type_names = jQuery.parseJSON(Base64.decode($('#hidden-type_names').val()));
|
||||||
|
var type_name_selected = type_names[type_selected];
|
||||||
|
|
||||||
|
if ($('#radius-percentage_warning').prop('checked') === true || $('#radius-percentage_critical').prop('checked') === true || type_name_selected == 'generic_data_string') {
|
||||||
$("#svg_dinamic").hide();
|
$("#svg_dinamic").hide();
|
||||||
} else {
|
} else {
|
||||||
paint_graph_values();
|
paint_graph_values();
|
||||||
|
|
Loading…
Reference in New Issue