From: Michael M Slusarz Date: Tue, 15 Dec 2009 00:42:47 +0000 (-0700) Subject: Provide indication that folder levels are being loaded X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=bb1845b12b862678c201ee7cf0d47184fb05db01;p=horde.git Provide indication that folder levels are being loaded --- 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')); } }