Bug #2036
closed
Do not use .attr() jquery method to get/set properties
Added by François ARMAND about 13 years ago.
Updated almost 13 years ago.
Description
Since jQuery 1.6, .attr() and .prop() methods have clear, different specifications.
We should use .prop() each time we want to change or read the current value of an attribute, not its initial value.
See: http://api.jquery.com/prop/
- Status changed from In progress to Pending technical review
- % Done changed from 0 to 100
- Status changed from Pending technical review to In progress
I'm sorry, but the correction is incomplete.
The rudder.js file contains many $('something).attr("foo", bar);
- Assignee deleted (
François ARMAND)
- Target version changed from 2.3.3 to 2.4.0~alpha3
- Target version changed from 2.4.0~alpha3 to 2.4.0~alpha4
- Assignee set to Arthur ANGLADE
- Status changed from In progress to Pending technical review
- Status changed from Pending technical review to Released
In fact, we discoverd some more evolution on that, see #2239
Also available in: Atom
PDF