From: Michael M Slusarz Date: Tue, 18 Jan 2011 23:00:47 +0000 (-0700) Subject: Better location to set mailbox name in the hash X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6a1423331da82a4258c7fff7b0261c1778513838;p=horde.git Better location to set mailbox name in the hash --- diff --git a/imp/js/dimpbase.js b/imp/js/dimpbase.js index 11fa847d2..570f25df0 100644 --- a/imp/js/dimpbase.js +++ b/imp/js/dimpbase.js @@ -191,13 +191,6 @@ var DimpBase = { $('dimpmain_portal').hide(); $('dimpmain_folder').show(); } - - // This catches the refresh case - no need to re-add to history - if (!Object.isUndefined(this.folder)) { - this.setHash(loc); - } - } else if (this.folder == f) { - this.setHash(loc); } this.loadMailbox(f); @@ -589,10 +582,9 @@ var DimpBase = { l = this.viewport.getMetaData('label'); this.setMessageListTitle(); + this.setMsgHash(); if (this.isSearch()) { - this.setMsgHash(); - tmp = this.viewport.getMetaData('slabel'); if (this.viewport.getMetaData('vfolder')) { $('search_close').hide();