git-svn-id: https://svn.code.sf.net/p/freetel/code@1148 01035d8c-6547-0410-b346-abe4f...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 21 Dec 2012 08:04:28 +0000 (08:04 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 21 Dec 2012 08:04:28 +0000 (08:04 +0000)
mini-asterisk-gui2/minicommon.js

index 0a77a88fbdc8c8529cea13899a3530ba4174fa7f..904eed8c44b686cd5e0071aa9a186f5f01032f23 100644 (file)
@@ -420,8 +420,11 @@ function onClickLogin() {
        // Test submit against pw
 
        // If ok then
+       var href = "";
+       href = location.href;
+       
        logged_in = 1;
-       window.location.assign("http://gui2/phones.html");      
+       window.location.assign("phones.html");  
        // else
        
        // fail