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