mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Fix for PDT+ bug 21536. r=hyatt
This commit is contained in:
parent
5951b555ea
commit
720f6babe8
@ -288,7 +288,7 @@ nsHTMLTextAreaElement::SetFocus(nsIPresContext* aPresContext)
|
||||
}
|
||||
|
||||
// XXX Should focus only this presContext
|
||||
Focus();
|
||||
//Focus();
|
||||
nsIFormControlFrame* formControlFrame = nsnull;
|
||||
nsresult rv = nsGenericHTMLElement::GetPrimaryFrame(this, formControlFrame);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
|
@ -288,7 +288,7 @@ nsHTMLTextAreaElement::SetFocus(nsIPresContext* aPresContext)
|
||||
}
|
||||
|
||||
// XXX Should focus only this presContext
|
||||
Focus();
|
||||
//Focus();
|
||||
nsIFormControlFrame* formControlFrame = nsnull;
|
||||
nsresult rv = nsGenericHTMLElement::GetPrimaryFrame(this, formControlFrame);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
|
Loading…
Reference in New Issue
Block a user