diff options
author | Mark Wells <mark@freeside.biz> | 2014-08-15 16:08:24 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-08-15 16:08:24 -0700 |
commit | d87c9f804b0cb7b6798bf770f753fb83022f5e6a (patch) | |
tree | 08081d967033fbcdbdd834bb49e841f7325c4afd /httemplate/edit/elements/part_export | |
parent | 383f177db523f12b88e7b3c4dd2c3ee51f750cff (diff) |
SNMP export: allow manually entering OIDs, #20945
Diffstat (limited to 'httemplate/edit/elements/part_export')
-rw-r--r-- | httemplate/edit/elements/part_export/broadband_snmp.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/httemplate/edit/elements/part_export/broadband_snmp.html b/httemplate/edit/elements/part_export/broadband_snmp.html index 4c0367c5a..ebb765dee 100644 --- a/httemplate/edit/elements/part_export/broadband_snmp.html +++ b/httemplate/edit/elements/part_export/broadband_snmp.html @@ -29,7 +29,7 @@ function open_select_mib(obj) { nd(1); // if there's already one open, close it var rownum = obj.rownum; - var curr_oid = obj.value || ''; + var curr_oid = obj.form.elements['oid' + rownum].value || ''; var url = '<%$fsurl%>/elements/select-mib-popup.html?' + 'callback=receive_mib;' + 'arg=' + rownum + @@ -66,10 +66,11 @@ function receive_mib(obj, rownum) { </SELECT> </TD> <TD> - <INPUT NAME="oid" ID="oid" SIZE="60" onclick="open_select_mib(this)"> + <INPUT NAME="oid" ID="oid" SIZE="54"> + <INPUT TYPE="button" VALUE="..." ID="openselector" onclick="open_select_mib(this)"> </TD> <TD> - <INPUT TYPE="text" NAME="datatype" ID="datatype" READONLY=1> + <INPUT TYPE="text" NAME="datatype" ID="datatype"> </TD> <TD> <INPUT NAME="value" ID="value"> |