Closed
Bug 417961
Opened 18 years ago
Closed 18 years ago
ctrl-z in content window can undo last bookmarks action
Categories
(SeaMonkey :: Bookmarks & History, defect)
SeaMonkey
Bookmarks & History
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ajschult784, Assigned: ajschult784)
Details
Attachments
(2 files)
|
3.76 KB,
patch
|
neil
:
review-
|
Details | Diff | Splinter Review |
|
2.36 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
Because the bookmarks context menu (for the bookmarks menu) is always active, it will happily attempt to undo the last bookmarks transaction whenever you hit ctrl-z in the content window unless you're focused on a text input. One thing to do here is to give the BookmarksMenuController its own list of commands it supports via supportsCommand, rather than using BookmarksController.supportsCommand. I can do that if it sounds reasonable. But the more important thing is to do what I've attached, which makes BookmarksMenuController only active when the context menu is active.
| Assignee | ||
Updated•18 years ago
|
Attachment #303758 -
Flags: review?(neil)
Comment 1•18 years ago
|
||
Comment on attachment 303758 [details] [diff] [review]
only activate controller with context menu
I wouldn't mess around with the controllers, simply allowing only the cmd_bm_ commands in supportsCommand sounds fine to me.
Attachment #303758 -
Flags: review?(neil) → review-
| Assignee | ||
Comment 2•18 years ago
|
||
expandfolder is obviously not supported.
...so what's so scary about controllers?
Updated•18 years ago
|
Attachment #304159 -
Flags: review?(neil) → review+
| Assignee | ||
Updated•18 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•