Maybe this will finally fix the redirect issue
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 12 Oct 2009 15:09:01 +0000 (09:09 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 12 Oct 2009 15:09:01 +0000 (09:09 -0600)
imp/js/DimpBase.js
imp/js/DimpCore.js

index ac850f9..9108d7c 100644 (file)
@@ -202,6 +202,8 @@ var DimpBase = {
             loc != 'options' &&
             $('appoptions') &&
             $('appoptions').hasClassName('on')) {
+            $('dimpPage').hide();
+            $('dimpLoading').show();
             return DimpCore.redirect(DIMP.conf.URI_DIMP + '#' + loc);
         }
 
index fa4bb35..7237808 100644 (file)
@@ -275,10 +275,9 @@ var DimpCore = {
     {
         var ptr = parent.frames.horde_main ? parent : window;
         ptr.location.assign(this.addURLParam(url));
-        // IE doesn't automatically reload on a hash difference
-        if (Prototype.Browser.IE) {
-            ptr.location.reload();
-        }
+
+        // Catch browsers that don't redirect on assign().
+        (function() { ptr.location.reload(true); }).delay(0.5);
     },
 
     /* Add dropdown menus to addresses. */