зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
36e0fe385b
Коммит
e328b78703
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче