mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
fix bug 32459, remove blockimage from menu if not pointing at a menu
This commit is contained in:
parent
5a801f9dba
commit
6b1460715d
@ -99,11 +99,6 @@ Contributor(s): ______________________________________. -->
|
||||
ondestroy="contextMenu.onDestroy(); contextMenu = null;">
|
||||
|
||||
<!-- Open ==================================== -->
|
||||
<menuitem id="context-blockimage"
|
||||
value="&blockImageCmd.label;"
|
||||
accesskey=""
|
||||
style="display: none"
|
||||
oncommand="contextMenu.blockImage();"/>
|
||||
<menuitem id="context-openlink"
|
||||
value="&openLinkCmd.label;"
|
||||
accesskey=""
|
||||
@ -156,6 +151,11 @@ Contributor(s): ______________________________________. -->
|
||||
value="&viewImageCmd.label;"
|
||||
accesskey=""
|
||||
oncommand="contextMenu.viewImage();"/>
|
||||
<menuitem id="context-blockimage"
|
||||
value="&blockImageCmd.label;"
|
||||
accesskey=""
|
||||
style="display: none"
|
||||
oncommand="contextMenu.blockImage();"/>
|
||||
<menuseparator/>
|
||||
<!-- Misc ==================================== -->
|
||||
<menuitem id="context-bookmarkpage"
|
||||
|
Loading…
Reference in New Issue
Block a user