2010-11-05 Sergio Martin <sergio.martin@artica.es>

* 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
This commit is contained in:
zarzuelo 2010-11-05 09:23:13 +00:00
parent 57cc920f4b
commit 2e59d73a5c
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2010-11-05 Sergio Martin <sergio.martin@artica.es>
* 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 <sergio.martin@artica.es>
* include/fgraph.php: Fixed event graphs by user for

View File

@ -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 ();