From: Michael M Slusarz Date: Tue, 25 Aug 2009 05:39:44 +0000 (-0600) Subject: Don't add temporary search folders to browser history X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=46c92c6bb5da9cd939e9bc8214d237a8a881e4dd;p=horde.git Don't add temporary search folders to browser history --- diff --git a/imp/js/DimpBase.js b/imp/js/DimpBase.js index ea25826bb..e2f705708 100644 --- a/imp/js/DimpBase.js +++ b/imp/js/DimpBase.js @@ -225,7 +225,7 @@ var DimpBase = { $('dimpmain_folder').show(); } // This catches the refresh case - no need to re-add to history - if (!Object.isUndefined(this.folder)) { + if (!Object.isUndefined(this.folder) && !this.sfolder) { this._addHistory(loc); } } @@ -1342,6 +1342,7 @@ var DimpBase = { this.loadMailbox(this.sfolder); } this.viewport.deleteView(f); + this.sfolder = null; } },