Roo/Login.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 23 Jun 2010 07:28:36 +0000 (15:28 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 23 Jun 2010 07:28:36 +0000 (15:28 +0800)
Roo/Login.js

index 4c66bf2..e0a25c0 100644 (file)
@@ -166,7 +166,7 @@ Roo.extend(Roo.Login, Roo.LayoutDialog, {
             method: 'GET',
             failure : function() {
                 Roo.MessageBox.alert("Error", "Error logging out. - continuing anyway.", function() {
-                    document.location = baseURL + '?ts=' + Math.random();
+                     document.location = document.location.toString() + '?ts=' + Math.random();
                 });
                 
             },