Make disabled selects select an initial option (bug 163437), r=peterl@netscape.com, sr=bzbarsky@mit.edu

This commit is contained in:
jkeiser%netscape.com 2002-12-18 08:09:49 +00:00
parent 262388fa08
commit 1740b8e3f3

View File

@ -1775,13 +1775,6 @@ nsHTMLSelectElement::SelectSomething()
return;
}
// Don't select anything if we're disabled
PRBool isDisabled = PR_FALSE;
GetDisabled(&isDisabled);
if (isDisabled) {
return;
}
PRUint32 count;
GetLength(&count);
for (PRUint32 i=0; i<count; i++) {