Closed Bug 466510 Opened 15 years ago Closed 15 years ago
Can't create saved search or view folder; open
New Virtual Folder Dialog With Args is not defined
Fallout from bug 414038, which removed openNewVirtualFolderDialogWithArgs from widgetglue.js. 1. Search in quicksearch 2. From the menu select Save Search as a Folder or 1. Add the View widget to the toolbar 2. Select something like Last 5 Days 3. Select Save View as a Folder Actual: Nothing happens other than: Error: openNewVirtualFolderDialogWithArgs is not defined Source File: chrome://messenger/content/msgViewPickerOverlay.js Line: 76
Target Milestone: --- → Thunderbird 3.0b1
You probably want gFolderTreeController.newVirtualFolder() instead.
thx, Joey, I'll take a quick whack at this.
Assignee: nobody → bienvenu
Though since one of the callers is in mailnews/extensions/, you probably "want" a openNewVirtualFolderDialogWithArgs() which passes the Args to .newVirtualFolder() :/
Or save some global scope and do like so: http://mxr.mozilla.org/comm-central/source/mailnews/base/resources/content/mailWidgets.xml#1863
standard, just need sr for the mailnews/extensions/mailview part since its shared code, thx!
Comment on attachment 349797 [details] [diff] [review] proposed fix Wrapping the args so they're < 80chars would be nice.
I've wrapped them locally...
Whiteboard: [has patch for review] → [needs sr Standard8]
Attachment #349797 - Flags: superreview?(bugzilla) → superreview+
Whiteboard: [needs sr Standard8] → [bienvenu to land patch]
fix checked in.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [bienvenu to land patch]
You need to log in before you can comment on or make changes to this bug.