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!