зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
0acafe8694
Коммит
b3922ecfae
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче