[freeside-commits] branch master updated. a8a95509bfca2510f1e5627e5a0d269ed78834cb

Mitch Jackson mitch at freeside.biz
Sun Jul 8 18:09:50 PDT 2018


The branch, master has been updated
       via  a8a95509bfca2510f1e5627e5a0d269ed78834cb (commit)
      from  0db0d9a79acc7e62430149ae155948b089e82bb5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a8a95509bfca2510f1e5627e5a0d269ed78834cb
Author: Mitch Jackson <mitch at freeside.biz>
Date:   Sun Jul 8 20:02:25 2018 -0500

    RT# 30783 js fix for ip selection

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');
 

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/tr-select-router_block_ip.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list