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

index 2234c3c2e431cc9944f7b4957981a67111d88f29..e2c1a64f03e17ced81b52f1081d35fd7b60812e4 100644 (file)
@@ -86,7 +86,10 @@ function initialisePage() {
             html += "<td>" + '<img src="tick.png" alt="tick" />' + "</td>";
 
             // the reception checkbox code
-               html += "<td>" + '<input name="selected_in[]" type="checkbox" ' ;
+               html += "<td>" + '<input name="selected_in[]" ';
+                       html += 'value= "' + ext_code[i-1] + '" ';
+                       i++;
+            html += 'type="checkbox" ' ;
                        
             if (recept_num.indexOf(j)!=-1) {
                        html += '" checked/>';