From 878ac2c44c95fd5a8bca9ed6662e0edfc27c94e9 Mon Sep 17 00:00:00 2001 From: horse69 Date: Sat, 17 Nov 2012 01:50:23 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/freetel/code@999 01035d8c-6547-0410-b346-abe4f91aad63 --- mini-asterisk-gui2/voiplines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mini-asterisk-gui2/voiplines.js b/mini-asterisk-gui2/voiplines.js index 7a5f13f3..914f6750 100644 --- a/mini-asterisk-gui2/voiplines.js +++ b/mini-asterisk-gui2/voiplines.js @@ -63,7 +63,7 @@ function initialisePage() { // sip info now loaded - if(siprego_line.indexOf(';') == 0) { + if(siprego_line[0] == ';') { // commented out mean no rego selected selection = "none"; document.getElementById('user').value = ""; -- 2.25.1