From bb1845b12b862678c201ee7cf0d47184fb05db01 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 14 Dec 2009 17:42:47 -0700 Subject: [PATCH] Provide indication that folder levels are being loaded --- imp/js/DimpBase.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/imp/js/DimpBase.js b/imp/js/DimpBase.js index 164c6d978..9ffbf3ee9 100644 --- a/imp/js/DimpBase.js +++ b/imp/js/DimpBase.js @@ -2147,12 +2147,17 @@ var DimpBase = { }); if (need.size()) { + if (mode == 'tog') { + base.down('A').update(DIMP.text.loading); + } this._listFolders({ all: Number(mode == 'expall'), callback: this._toggleSubFolder.bind(this, base, mode, noeffect), view: need }); return; + } else if (mode == 'tog') { + base.down('A').update(base.retrieve('l')); } } -- 2.11.0