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 comment:1
owner: | → snover |
---|---|
status: | new → assigned |
Changed October 07, 2010 07:26AM UTC by comment:2
Changed October 07, 2010 07:26AM UTC by comment:3
component: | unfiled → attributes |
---|---|
need: | Review → Patch |
priority: | undecided → low |
Changed October 09, 2010 03:50AM UTC by comment:4
need: | Patch → Commit |
---|---|
owner: | snover → john |
status: | assigned → new |
Changed October 09, 2010 08:28PM UTC by comment:5
resolution: | → fixed |
---|---|
status: | new → closed |
I have a patch for this, working on unit tests.