From 03e34018d4ec96db6849ee82dbc4e6dc6b273b0e Mon Sep 17 00:00:00 2001 From: cigamit Date: Sun, 14 Jan 2018 16:34:19 -0600 Subject: [PATCH] Max OID's was being shown in case 0 --- include/layout.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/layout.js b/include/layout.js index c40355d5f3..00e933885e 100644 --- a/include/layout.js +++ b/include/layout.js @@ -2552,6 +2552,7 @@ function setSNMP() { $('#row_snmp_context').hide(); $('#row_snmp_port').hide(); $('#row_snmp_timeout').hide(); + $('#row_max_oids').hide(); break; case '1': // SNMP v1 @@ -2568,6 +2569,7 @@ function setSNMP() { $('#row_snmp_context').hide(); $('#row_snmp_port').show(); $('#row_snmp_timeout').show(); + $('#row_max_oids').show(); break; case '3': // SNMP v3 @@ -2583,6 +2585,7 @@ function setSNMP() { $('#row_snmp_context').show(); $('#row_snmp_port').show(); $('#row_snmp_timeout').show(); + $('#row_max_oids').show(); if ($('#snmp_security_level').val() == 'noAuthNoPriv') { if ($('#snmp_auth_protocol').val() != '[None]') {