Closed Bug 201964 Opened 22 years ago Closed 22 years ago

Widget state manager fails to set empty menulist values

Categories

(SeaMonkey :: Preferences, defect)

x86
Windows 95
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: neil, Assigned: bugs)

References

()

Details

Attachments

(1 file)

This code is wrong: element.selectedItem = element.getElementsByAttribute( "value", aDataObject.value )[0]; The code in menulist.xml does it correctly. Rather than duplicating that code I suggest using it: element.value = aDataObject.value;
Attached patch As advertisedSplinter Review
Attachment #120437 - Flags: superreview?(jaggernaut)
Attachment #120437 - Flags: review?(shliang)
Attachment #120437 - Flags: review?(shliang) → review+
Comment on attachment 120437 [details] [diff] [review] As advertised sr=jag
Attachment #120437 - Flags: superreview?(jaggernaut) → superreview+
checked this in, thanks neil
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
rs vrfy.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: