Fix for bug 403501 (Rich text editing broken after back, forward in history). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@240466 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1006,7 +1006,7 @@ nsDocShell::FirePageHideNotification(PRBool aIsUnload)
|
||||
|
||||
// Now make sure our editor, if any, is torn down before we go
|
||||
// any farther.
|
||||
if (mEditorData) {
|
||||
if (mEditorData && aIsUnload) {
|
||||
mEditorData->TearDownEditor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user