git-svn-id: https://svn.code.sf.net/p/freetel/code@1008 01035d8c-6547-0410-b346-abe4f...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 17 Nov 2012 06:04:10 +0000 (06:04 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 17 Nov 2012 06:04:10 +0000 (06:04 +0000)
mini-asterisk-gui2/voiplines.js

index 22e5275df1302736520796c89f679af71cd323f1..da81d9f0277c703c1b155fe72f3fc690ce24041e 100644 (file)
@@ -458,13 +458,13 @@ function changeProvider() {
 
        // fill the host and username fields based on selection
 
-       selection = document.getElementById('provider').value;
+       var sell = document.getElementById('provider').value;
        
        // Disable old provider if used
        //
        
 
-       if (selection == "none" ) {
+       if (sell == "none" ) {
                // clear fields
                document.getElementById('user').value = "";
                document.getElementById('host').value = "";