2011-02-23 Miguel de Dios <miguel.dedios@artica.es>

* include/javascript/pandora_modules.js: fixed the disabled button snmp when
	change any parameter of snmp.
	
	Fixes: #3168685



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-02-23 11:22:47 +00:00
parent 632eb5e671
commit 355e1e89e6
2 changed files with 70 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2011-02-23 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js: fixed the disabled button snmp when
change any parameter of snmp.
Fixes: #3168685
2011-02-03 Javier Lanz <javier.lanz@artica.es>
* extensions/agents_modules.php: Fixed an error in the header of

View File

@ -181,11 +181,73 @@ function configure_modules_form () {
$("#text-ip_target").keyup (function () {
if (this.value != '') {
$("#button-snmp_walk").enable ();
} else {
}
else {
$("#button-snmp_walk").disable ();
}
});
$("#text-tcp_port").keyup (function () {
if (this.value != '') {
$("#button-snmp_walk").enable ();
}
else {
$("#button-snmp_walk").disable ();
}
});
$("#text-snmp_community").keyup (function () {
if (this.value != '') {
$("#button-snmp_walk").enable ();
}
else {
$("#button-snmp_walk").disable ();
}
});
$("#snmp_version").change(function () {
$("#button-snmp_walk").enable ();
});
$("#text-snmp3_auth_user").keyup (function () {
if (this.value != '') {
$("#button-snmp_walk").enable ();
}
else {
$("#button-snmp_walk").disable ();
}
});
$("#text-snmp3_auth_pass").keyup (function () {
if (this.value != '') {
$("#button-snmp_walk").enable ();
}
else {
$("#button-snmp_walk").disable ();
}
});
$("#snmp3_privacy_method").change(function () {
$("#button-snmp_walk").enable ();
});
$("#text-snmp3_privacy_pass").keyup (function () {
if (this.value != '') {
$("#button-snmp_walk").enable ();
}
else {
$("#button-snmp_walk").disable ();
}
});
$("#snmp3_auth_method").change(function () {
$("#button-snmp_walk").enable ();
});
$("#snmp3_security_level").change(function () {
$("#button-snmp_walk").enable ();
});
$("#button-snmp_walk").click (function () {
$(this).disable ();
$("#oid_loading").show ();