From: horse69 Date: Sat, 17 Nov 2012 06:16:12 +0000 (+0000) Subject: git-svn-id: https://svn.code.sf.net/p/freetel/code@1010 01035d8c-6547-0410-b346-abe4f... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=5477ec3a2a137d666bf4d821f0a417d741c24f0f;p=freetel-svn-tracking.git git-svn-id: https://svn.code.sf.net/p/freetel/code@1010 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/mini-asterisk-gui2/voiplines.js b/mini-asterisk-gui2/voiplines.js index aafa1e06..816bf9c1 100644 --- a/mini-asterisk-gui2/voiplines.js +++ b/mini-asterisk-gui2/voiplines.js @@ -473,19 +473,19 @@ function changeProvider() { document.getElementById('pass').value = ""; document.getElementById('info').textContent = sipnone_info; - } else if (selection == "sipnat" ) { + } else if (sell == "sipnat" ) { // fill sipnat document.getElementById('user').value = sipnat_user; document.getElementById('host').value = sipnat_host; document.getElementById('pass').value = sipnat_secret; document.getElementById('info').textContent = sipnat_info; - } else if (selection == "sipnormal" ) { + } else if (sell == "sipnormal" ) { // fill sipnormal document.getElementById('user').value = sipnormal_user; document.getElementById('host').value = sipnormal_host; document.getElementById('pass').value = sipnormal_secret; document.getElementById('info').textContent = sipnormal_info; - } else if (selection == "jazmin" ) { + } else if (sell == "jazmin" ) { // fill sipjazmin document.getElementById('user').value = sipjazmin_user; document.getElementById('host').value = sipjazmin_host;