mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 03:54:35 +00:00
Adding editor to Tasks menu.
This commit is contained in:
parent
da7d69bdaa
commit
b6bca26542
@ -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 />
|
||||
|
Loading…
Reference in New Issue
Block a user