If folder list is not loaded yet, defer setting title because it may be missing unsee...
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 18 Dec 2009 23:37:23 +0000 (16:37 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 18 Dec 2009 23:37:46 +0000 (16:37 -0700)
imp/js/DimpBase.js

index 5b3da7b..afb09c4 100644 (file)
@@ -971,6 +971,8 @@ var DimpBase = {
                 if (unseen > 0) {
                     label += ' (' + unseen + ')';
                 }
+            } else {
+                this.updateTitle.bind(this).defer();
             }
         }
         DimpCore.setTitle(label);