summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2018-07-08 20:02:25 -0500
committerMitch Jackson <mitch@freeside.biz>2018-10-23 17:22:36 -0400
commit020fe5db4a3ad50dad3eebd26316821e114ac9e7 (patch)
treea7f0978b7df246df991f64121d4e119bc1cb8516
parent0327c04ef25a6879a85b7a4a352147f4746703ee (diff)
RT# 30783 js fix for ip selectionFREESIDE_3_BRANCH_30783
-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 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');