From: Michael M Slusarz Date: Fri, 27 Feb 2009 18:49:16 +0000 (-0700) Subject: Fix title generation (need full display name, not last part). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=864d9c2f282899f00dcf3a8367f5df699caec35f;p=horde.git Fix title generation (need full display name, not last part). --- diff --git a/imp/js/src/DimpBase.js b/imp/js/src/DimpBase.js index e3ae8ad13..ac295b6aa 100644 --- a/imp/js/src/DimpBase.js +++ b/imp/js/src/DimpBase.js @@ -762,15 +762,13 @@ var DimpBase = { if (this.viewport.isFiltering()) { label = DIMP.text.search + ' :: ' + (this.viewport.getMetaData('total_rows') || 0) + ' ' + DIMP.text.resfound; } else { + label = this.viewport.getMetaData('label'); elt = $(this.getFolderId(this.folder)); if (elt) { unseen = elt.readAttribute('u'); - label = elt.readAttribute('l'); if (unseen > 0) { label += ' (' + unseen + ')'; } - } else { - label = this.viewport.getMetaData('label'); } } DimpCore.setTitle(label);