mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
108595 - "Block Images for this server" menu item not showing up. Remove display:none style rule now that the overlay that includes this overlay (contentAreaContextOverlay.xul) is no longer being loaded twice by navigator. r=kerz, sr=blake
This commit is contained in:
parent
0d1688a644
commit
b0ea346ec9
@ -127,12 +127,6 @@
|
||||
|
||||
window.addEventListener("load", cookieContextMenu.addContextMenuItemListeners, false);
|
||||
|
||||
// For some unexplainable reason, this overlay is loaded twice as can be demonstrated
|
||||
// by uncommenting the following "dump" statement which will get displayed twice
|
||||
// dump("$$$$$$$$$$ HERE WE ARE IN cookieContextOverlay.xul $$$$$$$$$$\n");
|
||||
// As a consequence, the block-image item appears twice in the context menu. To
|
||||
// prevent that from happening, the "display:none" was added to the menuitem below
|
||||
|
||||
]]>
|
||||
</script>
|
||||
|
||||
@ -142,13 +136,11 @@
|
||||
label="&blockImageCmd.label;"
|
||||
accesskey=""
|
||||
oncommand="cookieContextMenu.blockImage();"
|
||||
style="display:none;"
|
||||
insertafter="context-viewimage"/>
|
||||
<menuitem id="context-unblockimage"
|
||||
label="&unblockImageCmd.label;"
|
||||
accesskey=""
|
||||
oncommand="cookieContextMenu.unblockImage();"
|
||||
style="display:none;"
|
||||
insertafter="context-viewimage"/>
|
||||
</popup>
|
||||
</overlay>
|
||||
|
@ -127,12 +127,6 @@
|
||||
|
||||
window.addEventListener("load", cookieContextMenu.addContextMenuItemListeners, false);
|
||||
|
||||
// For some unexplainable reason, this overlay is loaded twice as can be demonstrated
|
||||
// by uncommenting the following "dump" statement which will get displayed twice
|
||||
// dump("$$$$$$$$$$ HERE WE ARE IN cookieContextOverlay.xul $$$$$$$$$$\n");
|
||||
// As a consequence, the block-image item appears twice in the context menu. To
|
||||
// prevent that from happening, the "display:none" was added to the menuitem below
|
||||
|
||||
]]>
|
||||
</script>
|
||||
|
||||
@ -142,13 +136,11 @@
|
||||
label="&blockImageCmd.label;"
|
||||
accesskey=""
|
||||
oncommand="cookieContextMenu.blockImage();"
|
||||
style="display:none;"
|
||||
insertafter="context-viewimage"/>
|
||||
<menuitem id="context-unblockimage"
|
||||
label="&unblockImageCmd.label;"
|
||||
accesskey=""
|
||||
oncommand="cookieContextMenu.unblockImage();"
|
||||
style="display:none;"
|
||||
insertafter="context-viewimage"/>
|
||||
</popup>
|
||||
</overlay>
|
||||
|
Loading…
x
Reference in New Issue
Block a user