Closed Bug 49985 Opened 25 years ago Closed 25 years ago

menulist attribute "selectedIndex" not working with templates

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: janv, Assigned: mikepinkerton)

Details

(Whiteboard: fix in hand)

Attachments

(2 files)

selectedIndex is ignoring all others values than 0. Attaching testcase and proposed patch
Attached file testcase
Attached patch proposed patchSplinter Review
->pinkerton for M18. Thanks for the patch!
Assignee: trudelle → pinkerton
Keywords: patch
Target Milestone: --- → M18
i've changed the patch a little (it would leak |child| if count==1), but i get the point. hyatt, can you say if this makes sense? I'm not used to working with templates. I'll check it in when I get back, just give me a nod that the patch is the right idea.
Whiteboard: fix in hand
yeah...
patch checked in.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: