Adding editor to Tasks menu.

This commit is contained in:
mcafee%netscape.com 1999-03-27 00:23:07 +00:00
parent da7d69bdaa
commit b6bca26542

View File

@ -325,6 +325,21 @@
}
}
function OpenEditor()
{
var toolkitCore = XPAppCoresManager.Find("ToolkitCore");
if (!toolkitCore) {
toolkitCore = new ToolkitCore();
if (toolkitCore) {
toolkitCore.Init("ToolkitCore");
}
}
if (toolkitCore) {
toolkitCore.ShowWindow("resource:/res/samples/EditorAppShell.xul",
window);
}
}
</html:script>
@ -467,6 +482,7 @@
<menu name="Tasks">
<menuitem name="Navigator" onclick="BrowserReload();"/>
<menuitem name="Messenger" onclick="OpenMessenger();" />
<menuitem name="Editor" onclick="OpenEditor();" />
<menuitem name="Chat" onclick="BrowserReload();"/>
<menuitem name="Shopping Cart" onclick="BrowserReload();"/>
<separator />