summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2018-07-08 20:02:25 -0500
committerMitch Jackson <mitch@freeside.biz>2018-07-08 20:02:25 -0500
commita8a95509bfca2510f1e5627e5a0d269ed78834cb (patch)
tree6f170af125251b6c10169eaf17edc0a6b57463dc /httemplate/elements
parent0db0d9a79acc7e62430149ae155948b089e82bb5 (diff)
RT# 30783 js fix for ip selection
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/tr-select-router_block_ip.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/tr-select-router_block_ip.html b/httemplate/elements/tr-select-router_block_ip.html
index eac41cf..72640d3 100644
--- a/httemplate/elements/tr-select-router_block_ip.html
+++ b/httemplate/elements/tr-select-router_block_ip.html
@@ -4,8 +4,8 @@ var ip_addr_curr_value = <% $opt{'ip_addr'} |js_string %>;
var blocknum_curr_value = <% $opt{'blocknum'} |js_string %>;
function update_ip_addr() {
- var routernum = $('#router_select_0').val();
- var blocknum = $('#router_select_1').val();
+ var routernum = $('#router_select_0').val() || "";
+ var blocknum = $('#router_select_1').val() || "";
var e_input_ip_addr = $('#input_ip_addr');
var e_router_select_1 = $('#router_select_1');