From: Jan Schneider Date: Wed, 12 May 2010 14:38:21 +0000 (+0200) Subject: Don't target the frameset when redirecting. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=9fc014fd1658b05b2634e89c11ba1079eddc6b30;p=horde.git Don't target the frameset when redirecting. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index c7d872486..40ae3a569 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -242,13 +242,11 @@ KronolithCore = { redirect: function(url, force) { - var ptr = parent.frames.horde_main ? parent : window; - - ptr.location.assign(this.addURLParam(url)); + window.location.assign(this.addURLParam(url)); // Catch browsers that don't redirect on assign(). if (force && !Prototype.Browser.WebKit) { - (function() { ptr.location.reload(); }).delay(0.5); + (function() { window.location.reload(); }).delay(0.5); } },