From: Rui Carneiro Date: Mon, 17 May 2010 09:45:32 +0000 (+0100) Subject: emptyFolder does not exist anymore. Use emptyMailbox instead. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3830b31a4aea37f482becf262dda286ce821f3b5;p=horde.git emptyFolder does not exist anymore. Use emptyMailbox instead. Fixes Bug #9030 Signed-off-by: Michael M Slusarz --- diff --git a/imp/js/DimpBase.js b/imp/js/DimpBase.js index 4fac0ddea..e640987a9 100644 --- a/imp/js/DimpBase.js +++ b/imp/js/DimpBase.js @@ -709,7 +709,7 @@ var DimpBase = { case 'ctx_folder_empty': tmp = baseelt.up('LI'); if (window.confirm(DIMP.text.empty_folder.sub('%s', tmp.readAttribute('title')))) { - DimpCore.doAction('emptyFolder', { mbox: tmp.retrieve('mbox') }, { callback: this._emptyFolderCallback.bind(this) }); + DimpCore.doAction('emptyMailbox', { mbox: tmp.retrieve('mbox') }, { callback: this._emptyMailboxCallback.bind(this) }); } break; @@ -2290,7 +2290,7 @@ var DimpBase = { } }, - _emptyFolderCallback: function(r) + _emptyMailboxCallback: function(r) { if (r.response.mbox) { if (this.folder == r.response.mbox) {