109856 - 2 separators in image context menu.

Make editor js use same context menu function for determining whether or
not to show a separator as everyone else.
sr=hyatt/blake
This commit is contained in:
ben%netscape.com 2001-12-17 22:51:00 +00:00
Родитель 5a0e4de0e3
Коммит 663f287e0e
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -66,12 +66,7 @@ function initEditorContextMenuItems(aEvent)
gContextMenu.showItem( "context-editlink", shouldShowEditLink );
// Hide the applications separator if there's no add-on apps present.
var appsSeparator = document.getElementById("context-sep-apps");
if (appsSeparator) {
var tempElement = appsSeparator.previousSibling;
if (tempElement.localName == "menuseparator")
gContextMenu.showItem("context-sep-apps", false);
}
gContextMenu.showItem("context-sep-apps", gContextMenu.shouldShowSeparator("context-sep-apps"));
}
function initEditorContextMenuListener(aEvent)