diff options
author | Mitch Jackson <mitch@freeside.biz> | 2018-07-08 20:02:25 -0500 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-07-08 20:02:25 -0500 |
commit | a8a95509bfca2510f1e5627e5a0d269ed78834cb (patch) | |
tree | 6f170af125251b6c10169eaf17edc0a6b57463dc /httemplate | |
parent | 0db0d9a79acc7e62430149ae155948b089e82bb5 (diff) |
RT# 30783 js fix for ip selection
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/elements/tr-select-router_block_ip.html | 4 |
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 eac41cfad..72640d3d5 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'); |