From 2e59d73a5c3ced356ad10e8e3c362d7d05c32a32 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Fri, 5 Nov 2010 09:23:13 +0000 Subject: [PATCH] 2010-11-05 Sergio Martin * include/javascript/pandora_modules.js: Changed the enable condition to the snmp walk button in the network to improve the usability for bug 3102823 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/include/javascript/pandora_modules.js | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index e5bed3f1a4..3f4e01341d 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-11-05 Sergio Martin + + * include/javascript/pandora_modules.js: Changed the enable + condition to the snmp walk button in the network to improve + the usability for bug 3102823 + 2010-11-05 Sergio Martin * include/fgraph.php: Fixed event graphs by user for diff --git a/pandora_console/include/javascript/pandora_modules.js b/pandora_console/include/javascript/pandora_modules.js index a6f308b7d5..547f8b23c2 100644 --- a/pandora_console/include/javascript/pandora_modules.js +++ b/pandora_console/include/javascript/pandora_modules.js @@ -5,6 +5,7 @@ var id_modules_snmp = Array (15, 16, 17, 18); function configure_modules_form () { $("#id_module_type").change (function () { + $("#button-snmp_walk").enable (); if (id_modules_icmp.in_array (this.value)) { $("tr#simple-snmp_1, tr#simple-snmp_2, tr#advanced-tcp_send, tr#advanced-tcp_receive").hide (); $("#text-tcp_port").attr ("disabled", "1"); @@ -83,6 +84,8 @@ function configure_modules_form () { $("#network_component_group").change (function () { var $select = $("#network_component").hide (); + $("#button-snmp_walk").enable (); + $("#component").hide (); if (this.value == 0) return; @@ -116,6 +119,8 @@ function configure_modules_form () { }); $("#network_component").change (function () { + $("#button-snmp_walk").enable (); + if (this.value == 0) return; $("#component_loading").show ();