git-svn-id: https://svn.code.sf.net/p/freetel/code@769 01035d8c-6547-0410-b346-abe4f9...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 17 Oct 2012 22:26:13 +0000 (22:26 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 17 Oct 2012 22:26:13 +0000 (22:26 +0000)
mini-asterisk-gui2/phones.js

index e2c1a64f03e17ced81b52f1081d35fd7b60812e4..c78c0bf525d4c4d35f5f117dc94b18772de02e13 100644 (file)
@@ -87,8 +87,7 @@ function initialisePage() {
 
             // the reception checkbox code
                html += "<td>" + '<input name="selected_in[]" ';
-                       html += 'value= "' + ext_code[i-1] + '" ';
-                       i++;
+                       html += 'value="SIP_' + ip_ext[j] + '" ';
             html += 'type="checkbox" ' ;
                        
             if (recept_num.indexOf(j)!=-1) {