From d956bdef7968a8c72b90d9a9bd9838c5d778d54c Mon Sep 17 00:00:00 2001 From: horse69 Date: Sat, 17 Nov 2012 05:53:45 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/freetel/code@1007 01035d8c-6547-0410-b346-abe4f91aad63 --- mini-asterisk-gui2/voiplines.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mini-asterisk-gui2/voiplines.js b/mini-asterisk-gui2/voiplines.js index 4314db02..22e5275d 100644 --- a/mini-asterisk-gui2/voiplines.js +++ b/mini-asterisk-gui2/voiplines.js @@ -176,7 +176,7 @@ function loadSipConf(doc,status) { if(siprego_line[0] == ';') { // commented out mean no rego selected - selection = "none"; + lastselection = "none"; document.getElementById('user').value = ""; document.getElementById('host').value = ""; document.getElementById('pass').value = ""; @@ -184,7 +184,7 @@ function loadSipConf(doc,status) { } else if (siprego.indexOf(sipnat_user) != -1) { // rego line has sipnat - selection = "sipnat"; + lastselection = "sipnat"; document.getElementById('user').value = sipnat_user; document.getElementById('host').value = sipnat_host; document.getElementById('pass').value = sipnat_secret; @@ -192,7 +192,7 @@ function loadSipConf(doc,status) { } else if (siprego.indexOf(sipnormal_user) != -1) { // rego line has sipnormal - selection = "sipnormal"; + lastselection = "sipnormal"; document.getElementById('user').value = sipnormal_user; document.getElementById('host').value = sipnormal_host; document.getElementById('pass').value = sipnormal_secret; @@ -200,7 +200,7 @@ function loadSipConf(doc,status) { } else if (siprego.indexOf(sipjazmin_user) != -1) { // rego line has sipjazmin - selection = "sipjazmin"; + lastselection = "sipjazmin"; document.getElementById('user').value = sipjazmin_user; document.getElementById('host').value = sipjazmin_host; document.getElementById('pass').value = sipjazmin_secret; -- 2.25.1