From 864d9c2f282899f00dcf3a8367f5df699caec35f Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 27 Feb 2009 11:49:16 -0700 Subject: [PATCH] Fix title generation (need full display name, not last part). --- imp/js/src/DimpBase.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); -- 2.11.0