From 8b2b6afab7df43a218450b37848271d18bfccef3 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 18 Dec 2009 16:37:23 -0700 Subject: [PATCH] If folder list is not loaded yet, defer setting title because it may be missing unseen info --- imp/js/DimpBase.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imp/js/DimpBase.js b/imp/js/DimpBase.js index 5b3da7b45..afb09c48b 100644 --- a/imp/js/DimpBase.js +++ b/imp/js/DimpBase.js @@ -971,6 +971,8 @@ var DimpBase = { if (unseen > 0) { label += ' (' + unseen + ')'; } + } else { + this.updateTitle.bind(this).defer(); } } DimpCore.setTitle(label); -- 2.11.0