mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Make disabled selects select an initial option (bug 163437), r=peterl@netscape.com, sr=bzbarsky@mit.edu
This commit is contained in:
parent
262388fa08
commit
1740b8e3f3
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user