Supply 'EditorCleanup()' method for mail composer to use to fix bug 117791, r=brade, sr=dveditz
This commit is contained in:
Родитель
2119ef8137
Коммит
9d1e665b37
|
@ -174,6 +174,13 @@ function TextEditorOnLoad()
|
|||
EditorStartup('text', document.getElementById("content-frame"));
|
||||
}
|
||||
|
||||
// This should be called by all editor users when they close their window
|
||||
// or other similar "done with editor" actions, like recycling a Mail Composer window.
|
||||
function EditorCleanup()
|
||||
{
|
||||
SwitchInsertCharToAnotherEditorOrClose();
|
||||
}
|
||||
|
||||
function PageIsEmptyAndUntouched()
|
||||
{
|
||||
return (editorShell != null) && editorShell.documentIsEmpty &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче