From: Michael M Slusarz Date: Mon, 12 Oct 2009 15:09:01 +0000 (-0600) Subject: Maybe this will finally fix the redirect issue X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=daa0e434298cf0326d54e85aa3e354b18fba2e6a;p=horde.git Maybe this will finally fix the redirect issue --- 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. */