From daa0e434298cf0326d54e85aa3e354b18fba2e6a Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 12 Oct 2009 09:09:01 -0600 Subject: [PATCH] Maybe this will finally fix the redirect issue --- imp/js/DimpBase.js | 2 ++ imp/js/DimpCore.js | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/imp/js/DimpBase.js b/imp/js/DimpBase.js index ac850f986..9108d7cbc 100644 --- a/imp/js/DimpBase.js +++ b/imp/js/DimpBase.js @@ -202,6 +202,8 @@ var DimpBase = { loc != 'options' && $('appoptions') && $('appoptions').hasClassName('on')) { + $('dimpPage').hide(); + $('dimpLoading').show(); return DimpCore.redirect(DIMP.conf.URI_DIMP + '#' + loc); } diff --git a/imp/js/DimpCore.js b/imp/js/DimpCore.js index fa4bb35d6..72378082e 100644 --- a/imp/js/DimpCore.js +++ b/imp/js/DimpCore.js @@ -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. */ -- 2.11.0