Bug 386782. save and restore editor state so that it isn't lost when a page goes into the bfcache and then comes back. patch by Chris Pearce, r+sr=peterv,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250716 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3961,6 +3961,13 @@ static PRBool HasPresShell(nsPIDOMWindow *aWindow)
|
||||
return presShell != nsnull;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsHTMLDocument::SetEditingState(EditingState aState)
|
||||
{
|
||||
mEditingState = aState;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsHTMLDocument::EditingStateChanged()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user