From 310f04286cec007bf474dae1efc9b5e573a92cde Mon Sep 17 00:00:00 2001 From: horse69 Date: Sat, 17 Nov 2012 06:04:10 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/freetel/code@1008 01035d8c-6547-0410-b346-abe4f91aad63 --- mini-asterisk-gui2/voiplines.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = ""; -- 2.25.1