emptyFolder does not exist anymore. Use emptyMailbox instead.
authorRui Carneiro <rui.carneiro@portugalmail.net>
Mon, 17 May 2010 09:45:32 +0000 (10:45 +0100)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 18 May 2010 17:17:02 +0000 (11:17 -0600)
Fixes Bug #9030
Signed-off-by: Michael M Slusarz <slusarz@curecanti.org>
imp/js/DimpBase.js

index 4fac0dd..e640987 100644 (file)
@@ -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) {