fix folder delete from file menu, r=jminta, 467732 COMM_20081201_RELBRANCH
authorDavid Bienvenu <bienvenu@nventure.com>
Wed, 03 Dec 2008 14:36:31 -0800
branchCOMM_20081201_RELBRANCH
changeset 1324 c5d22f0aa8d8e6669ce3a9da2dd04f33903dead6
parent 1286 e9d41510b2a695ae774be7dc0ca75ede69c2f390
child 1325 f830d06b8c3c416598770ded0d6bbbf2f7ff42af
push idunknown
push userunknown
push dateunknown
reviewersjminta, 467732
bugs467732
fix folder delete from file menu, r=jminta, 467732
mail/base/content/mail3PaneWindowCommands.js
--- a/mail/base/content/mail3PaneWindowCommands.js
+++ b/mail/base/content/mail3PaneWindowCommands.js
@@ -530,17 +530,17 @@ var DefaultController =
         gDBView.doCommand(nsMsgViewCommandType.deleteMsg);
         break;
       case "cmd_shiftDelete":
         MarkSelectedMessagesRead(true);
         SetNextMessageAfterDelete();
         gDBView.doCommand(nsMsgViewCommandType.deleteNoTrash);
         break;
       case "cmd_deleteFolder":
-        MsgDeleteFolder();
+        gFolderTreeController.deleteFolder();
         break;
       case "cmd_killThread":
         /* kill thread kills the thread and then does a next unread */
         GoNextMessage(nsMsgNavigationType.toggleThreadKilled, true);
         break;
       case "cmd_killSubthread":
         GoNextMessage(nsMsgNavigationType.toggleSubthreadKilled, true);
         break;