git-svn-id: https://svn.code.sf.net/p/freetel/code@997 01035d8c-6547-0410-b346-abe4f9...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 17 Nov 2012 01:46:00 +0000 (01:46 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 17 Nov 2012 01:46:00 +0000 (01:46 +0000)
mini-asterisk-gui2/voiplines.js

index 23d52beaeacf133217b06147cf08531411514db5..1edf001630718d5f54faff9c92d31e3a5e46ebee 100644 (file)
@@ -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 = "";