Add the function NewMessage to popup the compose window.

git-svn-id: svn://10.0.0.236/trunk@22774 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ducarroz%netscape.com
1999-03-04 19:33:55 +00:00
parent 56df6d033f
commit 4b14c18672

View File

@@ -98,6 +98,17 @@ function OpenURL(url)
}
}
function NewMessage()
{
dump("\n\nnewMsg from XUL\n\n\n");
var appCore = new ComposeAppCore();
if (appCore != null) {
dump("Initializing ComposeAppCore and creating a new Message\n");
appCore.Init("ComposeAppCore");
appCore.NewMessage("resource:/res/samples/compose.xul");
}
}
</html:script>
<menubar>