From a092623706d707d3b52a2fd1f57c99434effe3f5 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Thu, 21 Nov 2013 11:37:41 +0000 Subject: [PATCH] 2013-11-21 Sergio Martin * godmode/modules/manage_network_components_form.php: Fixed jquery code that broke the snmp3 fields when edit a snmp component Incident #402 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ .../godmode/modules/manage_network_components_form.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 87527c4d29..49463676fd 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2013-11-21 Sergio Martin + + * godmode/modules/manage_network_components_form.php: Fixed jquery + code that broke the snmp3 fields when edit a snmp component + Incident #402 + 2013-11-20 Miguel de Dios * include/functions_ui.php: removed the hack for metaconsole, now diff --git a/pandora_console/godmode/modules/manage_network_components_form.php b/pandora_console/godmode/modules/manage_network_components_form.php index 763c68fed5..796827a372 100644 --- a/pandora_console/godmode/modules/manage_network_components_form.php +++ b/pandora_console/godmode/modules/manage_network_components_form.php @@ -428,7 +428,7 @@ $(document).ready (function () { }); }); - if ($("#snmp_version").value == "3") { + if ($("#snmp_version").val() == "3") { $("input[name=snmp3_auth_user]").css({backgroundColor: '#fff'}); $("input[name=snmp3_auth_user]").removeAttr('disabled');