git-svn-id: https://svn.code.sf.net/p/freetel/code@1025 01035d8c-6547-0410-b346-abe4f...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 19 Nov 2012 08:56:24 +0000 (08:56 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 19 Nov 2012 08:56:24 +0000 (08:56 +0000)
mini-asterisk-gui2/voiplines.js

index e38e437248a07bd6087dc7a389f67868843a7388..18111f9fa6740ee4371d7ae550ad9fada0c7b573 100644 (file)
@@ -17,10 +17,6 @@ var passwd = "";
 
 
 var lastselection="";
-var lasthost="";
-var lastuser="";
-var lastpasswd="";
-var lastreg="";
 
 var providerfound = 0;
 
@@ -232,11 +228,7 @@ function onClickApply() {
        // You will need to cascade calls to downloadUrl
 
        // save globals
-       lastselection = selection;
-       lastuser = user;
-       lasthost = host;
-       lastpasswd = passwd;
-       lastreg = new_register;
+       //lastselection = selection;
        
        // take provider, username, password and host. 
        selection = document.getElementById('provider').value;
@@ -483,9 +475,6 @@ function changeProvider() {
 
        var sell = document.getElementById('provider').value;
        
-       // Disable old provider if used
-       //
-       
 
        if (sell == "none" ) {
                // clear fields