Fix for bug 108731. Send page must use the message compose service in order to be able to use the recycled compose window. R=varada, SR=mscott
This commit is contained in:
Родитель
e2f1b0657c
Коммит
ccfcbff06d
|
@ -641,10 +641,10 @@ var nsSendPageCommand =
|
|||
// Launch Messenger Composer window with current page as contents
|
||||
var pageTitle = window.editorShell.editorDocument.title;
|
||||
var pageUrl = window.editorShell.editorDocument.location.href;
|
||||
window.openDialog( "chrome://messenger/content/messengercompose/messengercompose.xul", "_blank",
|
||||
"chrome,all,dialog=no",
|
||||
"attachment='" + pageUrl.replace(/\,/g, "%2C") + "',body='" + pageUrl +
|
||||
"',subject='" + pageTitle + "',bodyislink=true");
|
||||
try
|
||||
{
|
||||
openComposeWindow(pageUrl, pageTitle);
|
||||
} catch (ex) { dump("Cannot Send Page: " + ex + "\n"); }
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче