Fix for bug #21683: [dogfood] Can't set focus to end of reply message to type

Added beginRulesSniffing local variable.
r=jfrancis@netscape.com a=chofmann@netscape.com


git-svn-id: svn://10.0.0.236/trunk@56073 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kin%netscape.com 1999-12-16 00:59:08 +00:00
parent 167adea29b
commit eeeeaca1e6
2 changed files with 2 additions and 0 deletions

View File

@ -1511,6 +1511,7 @@ NS_IMETHODIMP nsHTMLEditor::InsertBreak()
nsresult res;
if (!mRules) { return NS_ERROR_NOT_INITIALIZED; }
nsAutoRules beginRulesSniffing(this, kOpInsertBreak, nsIEditor::eNext);
nsCOMPtr<nsIDOMSelection> selection;
PRBool cancel, handled;

View File

@ -1511,6 +1511,7 @@ NS_IMETHODIMP nsHTMLEditor::InsertBreak()
nsresult res;
if (!mRules) { return NS_ERROR_NOT_INITIALIZED; }
nsAutoRules beginRulesSniffing(this, kOpInsertBreak, nsIEditor::eNext);
nsCOMPtr<nsIDOMSelection> selection;
PRBool cancel, handled;