fix for 132697;stop or send mail based on spellchecker dialog;r=cmanske;sr=bienvenue;a=asa

This commit is contained in:
varada%netscape.com 2002-03-26 01:11:25 +00:00
Родитель add2d8c14c
Коммит 9e9ef5f22c
1 изменённых файлов: 8 добавлений и 1 удалений

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

@ -1585,7 +1585,14 @@ function GenericSendMessage( msgType )
//We disable spellcheck for the following -subject line, attachment pane, identity and addressing widget //We disable spellcheck for the following -subject line, attachment pane, identity and addressing widget
//therefore we need to explicitly focus on the mail body when we have to do a spellcheck. //therefore we need to explicitly focus on the mail body when we have to do a spellcheck.
editorShell.contentWindow.focus(); editorShell.contentWindow.focus();
goDoCommand('cmd_spelling'); window.cancelSendMessage = false;
try {
window.openDialog("chrome://editor/content/EdSpellCheck.xul", "_blank",
"chrome,close,titlebar,modal", true);
}
catch(ex){}
if(window.cancelSendMessage)
return;
} }
//Check if we have a subject, else ask user for confirmation //Check if we have a subject, else ask user for confirmation