From: horse69 Date: Sat, 17 Nov 2012 06:04:10 +0000 (+0000) Subject: git-svn-id: https://svn.code.sf.net/p/freetel/code@1008 01035d8c-6547-0410-b346-abe4f... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=310f04286cec007bf474dae1efc9b5e573a92cde;p=freetel-svn-tracking.git git-svn-id: https://svn.code.sf.net/p/freetel/code@1008 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/mini-asterisk-gui2/voiplines.js b/mini-asterisk-gui2/voiplines.js index 22e5275d..da81d9f0 100644 --- a/mini-asterisk-gui2/voiplines.js +++ b/mini-asterisk-gui2/voiplines.js @@ -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 = "";