mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-07 21:43:24 +00:00
fix for #3755 - bring up messenger from Tools->Messenger by opening a new
window with the messenger XUL file.
This commit is contained in:
parent
1b682f9f08
commit
ec3c5c1c84
@ -294,6 +294,21 @@
|
||||
}
|
||||
}
|
||||
|
||||
function OpenMessenger()
|
||||
{
|
||||
var toolkitCore = XPAppCoresManager.Find("ToolkitCore");
|
||||
if (!toolkitCore) {
|
||||
toolkitCore = new ToolkitCore();
|
||||
if (toolkitCore) {
|
||||
toolkitCore.Init("ToolkitCore");
|
||||
}
|
||||
}
|
||||
if (toolkitCore) {
|
||||
toolkitCore.ShowWindow("resource:/res/samples/mailshell.xul",
|
||||
window);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
</html:script>
|
||||
|
||||
@ -425,7 +440,7 @@
|
||||
</menu>
|
||||
<menu name="Tasks">
|
||||
<menuitem name="Navigator" onclick="BrowserReload();"/>
|
||||
<menuitem name="Messenger" onclick="BrowserReload();" />
|
||||
<menuitem name="Messenger" onclick="OpenMessenger();" />
|
||||
<menuitem name="Chat" onclick="BrowserReload();"/>
|
||||
<menuitem name="Shopping Cart" onclick="BrowserReload();"/>
|
||||
<separator />
|
||||
|
Loading…
Reference in New Issue
Block a user