From 7a5144a3ab6899a5e0f13392c83b03c21d411eb4 Mon Sep 17 00:00:00 2001 From: horse69 Date: Sat, 17 Nov 2012 01:46:00 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/freetel/code@997 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 23d52bea..1edf0016 100644 --- a/mini-asterisk-gui2/voiplines.js +++ b/mini-asterisk-gui2/voiplines.js @@ -63,7 +63,7 @@ function initialisePage() { // sip info now loaded - if(sipregoline[0] == ';') { + if(sipregoline.indexOf(';') == 0) { // commented out mean no rego selected selection = "none"; document.getElementById('user').value = ""; -- 2.25.1