Fix for PDT+ bug 21536. r=hyatt

This commit is contained in:
saari%netscape.com 1999-12-16 00:34:43 +00:00
parent 5951b555ea
commit 720f6babe8
2 changed files with 2 additions and 2 deletions

View File

@ -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)) {

View File

@ -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)) {