Skip to main content

Bug Tracker

Side navigation

#7123 closed bug (fixed)

Opened October 07, 2010 02:39AM UTC

Closed October 09, 2010 08:28PM UTC

<input|checkbox>.val(array-of-values) does not update checked attribute properly if array-of-values are numbers

Reported by: FondDuLac Owned by: john
Priority: low Milestone: 1.4.3
Component: attributes Version: 1.3.2
Keywords: radio, val() Cc:
Blocked by: Blocking:
Description

Inside val(), value has been turned into a string if it is a number, but the same check and cast are not performed in the jQuery.InArray(this.value, value) when array[i] is === compared to value.

Attachments (0)
Change History (5)

Changed October 07, 2010 07:25AM UTC by snover comment:1

owner: → snover
status: newassigned

I have a patch for this, working on unit tests.

Changed October 07, 2010 07:26AM UTC by snover comment:2

Changed October 07, 2010 07:26AM UTC by snover comment:3

component: unfiledattributes
need: ReviewPatch
priority: undecidedlow

Changed October 09, 2010 03:50AM UTC by snover comment:4

need: PatchCommit
owner: snoverjohn
status: assignednew

Changed October 09, 2010 08:28PM UTC by john comment:5

resolution: → fixed
status: newclosed