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

index 821a82beb6a06ffed6ed254e254113e8ab942616..bf38dee52ec84b6ed016a80172bf58dface5af77 100644 (file)
@@ -224,7 +224,7 @@ function onClickUpdateReception() {
                                arg = arg+"&";
 
                        // got to make up new codes
-                       arg = arg + recept_code[i] + "=on";
+                       arg = arg + recept_box[i].value + "=on";
                }
 
        }