Fixes Bug #9030
Signed-off-by: Michael M Slusarz <slusarz@curecanti.org>
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;
}
},
- _emptyFolderCallback: function(r)
+ _emptyMailboxCallback: function(r)
{
if (r.response.mbox) {
if (this.folder == r.response.mbox) {