Skip to main content

Bug Tracker

Side navigation

#8129 closed bug (fixed)

Opened February 01, 2011 06:19PM UTC

Closed February 01, 2011 11:13PM UTC

Last modified March 13, 2012 02:42PM UTC

Cloning <select multiple> selected items incorrect in IE8

Reported by: aaronbarker Owned by: rwaldron
Priority: blocker Milestone: 1.5.1
Component: manipulation Version: 1.5
Keywords: regression Cc:
Blocked by: Blocking:
Description

http://jsfiddle.net/aaronbarker/VSnzy/2/

The selected options are not cloned correctly. Options 2/4/6 should be selected, but in the clone only 6 is selected

This was working in 1.4.4

http://jsfiddle.net/aaronbarker/HJ3Wf/1/

Attachments (0)
Change History (7)

Changed February 01, 2011 07:32PM UTC by jitter comment:1

component: unfiledmanipulation
milestone: 1.next1.5.1
priority: undecidedhigh
status: newopen

Changed February 01, 2011 08:17PM UTC by dmethvin comment:2

It's due to the order that we call cloneFixAttributes. First we fix the attributes of all the descendants, then we fix the attrs of the parent. After the descendants are fixed everything looks good. However, when fixing the cloned parent it calls clearAttributes; that removes the multiple attribute and only leaves the last selected option standing.

Changed February 01, 2011 08:24PM UTC by jitter comment:3

priority: highblocker

Changed February 01, 2011 08:24PM UTC by jitter comment:4

keywords: → regression

Changed February 01, 2011 11:04PM UTC by rwaldron comment:5

Changed February 01, 2011 11:04PM UTC by rwaldron comment:6

owner: → rwaldron
status: openassigned

Changed February 01, 2011 11:13PM UTC by rwldrn comment:7

resolution: → fixed
status: assignedclosed

Fixes #8129. Fix cloning multiple selected options in IE8.

Changeset: fa4c90987fc9aede4de3f41976cda91acad81736