mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Supply 'EditorCleanup()' method for mail composer to use to fix bug 117791, r=brade, sr=dveditz
This commit is contained in:
parent
226cf3ceae
commit
431edd5a92
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user