fix for #17956, a=chofmann. fix by ducarroz, r=sspitzer

This commit is contained in:
sspitzer%netscape.com 1999-11-09 02:07:58 +00:00
Родитель b7b5c6ab82
Коммит 94be527586
1 изменённых файлов: 3 добавлений и 7 удалений

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

@ -113,7 +113,7 @@ function ComposeMessage(type, format)
if (type == 0) //new message
{
//dump("OpenComposeWindow with " + identity + "\n");
msgComposeService.OpenComposeWindow(null, null, 0, format, null, identity);
msgComposeService.OpenComposeWindow(null, null, 0, format, identity);
return;
}
@ -136,9 +136,7 @@ function ComposeMessage(type, format)
dump('\n');
if (type == 1 || type == 2) //reply or reply all
{
if (appCore)
object = appCore.GetRDFResourceForMessage(tree, nodeList); //temporary
msgComposeService.OpenComposeWindow(null, nodeList[i].getAttribute('id'), type, format, object, identity);
msgComposeService.OpenComposeWindow(null, nodeList[i].getAttribute('id'), type, format, identity);
}
else
{
@ -150,9 +148,7 @@ function ComposeMessage(type, format)
if (type == 3 || type == 4) //forward
{
if (appCore)
object = appCore.GetRDFResourceForMessage(tree, nodeList); //temporary
msgComposeService.OpenComposeWindow(null, uri, type, format, object, identity);
msgComposeService.OpenComposeWindow(null, uri, type, format, identity);
}
}
else