зеркало из https://github.com/mozilla/gecko-dev.git
removed unnecessary references to nsContextMenu.js (bug #43239)
This commit is contained in:
Родитель
60a55a16a3
Коммит
e358cfe302
|
@ -25,8 +25,6 @@ function fillContentContextMenu(event, contextMenuNode)
|
|||
if ( event.target != contextMenuNode )
|
||||
return;
|
||||
|
||||
contextMenu = new nsContextMenu(contextMenuNode);
|
||||
|
||||
HideDisabledItem("menu_undo_cm");
|
||||
HideDisabledItem("menu_redo_cm");
|
||||
HideDisabledItem("menu_cut_cm");
|
||||
|
|
|
@ -29,13 +29,12 @@
|
|||
<overlay id="ComposerContextMenuOverlay"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script language="JavaScript" src="chrome://navigator/content/nsContextMenu.js"/>
|
||||
<script language="JavaScript" src="chrome://editor/content/EditorContextMenu.js"/>
|
||||
|
||||
<popupset id="editorContentContextSet">
|
||||
<popup id="editorContentContext"
|
||||
oncreate="return fillContentContextMenu(event, this);"
|
||||
ondestroy="cleanupContextMenu(event, this); contextMenu.onDestroy(); contextMenu = null;">
|
||||
ondestroy="cleanupContextMenu(event, this);">
|
||||
<menuitem id="menu_undo_cm" observes="cmd_undo"/>
|
||||
<menuitem id="menu_redo_cm" observes="cmd_redo"/>
|
||||
<menuseparator id="undoredo-separator"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче