Closed
Bug 841688
Opened 12 years ago
Closed 12 years ago
Work - Open in tab doesn't work for image context menu
Categories
(Firefox for Metro Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: jimm, Assigned: jimm)
References
Details
(Whiteboard: feature=work status=verified)
Attachments
(1 file)
2.18 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
eom
![]() |
Assignee | |
Comment 1•12 years ago
|
||
Attachment #714308 -
Flags: review?(mbrubeck)
Comment 2•12 years ago
|
||
Comment on attachment 714308 [details] [diff] [review]
patch
Review of attachment 714308 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/metro/base/content/ContextCommands.js
@@ +138,5 @@
> },
>
> + openImageInNewTab: function cc_openImageInNewTab() {
> + Browser.addTab(ContextMenuUI.popupState.mediaURL, false, Browser.selectedTab);
> + ContextUI.peekTabs();
You can use BrowserUI.newTab() here. (The rough sort-of-rule is that BrowserUI methods can be used when responding to explicit user actions, and they will do the appropriate UI stuff like peekTabs.)
Attachment #714308 -
Flags: review?(mbrubeck) → review+
Comment 3•12 years ago
|
||
(In reply to Matt Brubeck (:mbrubeck) from comment #2)
> You can use BrowserUI.newTab() here.
For bonus points you can fix openInNewTab to do the same. :)
![]() |
Assignee | |
Comment 4•12 years ago
|
||
fixed by the landing in bug 841686.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 5•12 years ago
|
||
Tested on 2013-02-21 Nightly built from http://hg.mozilla.org/mozilla-central/rev/702d2814efbf
- All items in the image context menu work now.
Summary: Open in tab doesn't work for image context menu → Work - Open in tab doesn't work for image context menu
Whiteboard: feature=work status=verified
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•