Closed (fixed)
Project:
Webform
Version:
7.x-4.0-rc1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2014 at 05:15 UTC
Updated:
6 May 2014 at 07:01 UTC
Jump to comment: Most recent
In several JS files in Webform we're using the $.fn.attr method to check the disabled/checked state of elements. Unfortunately, this usage of $.fn.attr is incorrect as of jQuery 1.9, and using it can lead to inconsistent results. To solve this, we should check if $.fn.prop exists and use it to check/set these properties. For more information, see http://api.jquery.com/prop.
| Comment | File | Size | Author |
|---|---|---|---|
| webform_jquery_19_compatibility.patch | 3.66 KB | quicksketch |
Comments
Comment #2
quicksketchPushed to 7.x-4.x branch.
Comment #4
fenstratNeeds porting to 8.x-4.x.
Comment #5
fenstratCommitted and pushed a1640de to 8.x-4.x. Thanks!