Skip to main content

Bug Tracker

Side navigation

#9263 closed bug (wontfix)

Opened May 12, 2011 10:55PM UTC

Closed May 12, 2011 11:11PM UTC

run $(elem).attr('disabled', true) through $.propHooks.disabled.set if present

Reported by: ryankshaw Owned by:
Priority: low Milestone: 1.next
Component: attributes Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:
Description

since according to the 1.6.1 release notes "in the interest of backwards compatibility and the usefulness of the .attr() method, we will continue to be able to get and set these boolean attributes with the .attr() method"

...we should run the propHook that goes along with it. but we dont

test case:

http://jsfiddle.net/PkGau/2/

Attachments (0)
Change History (1)

Changed May 12, 2011 11:11PM UTC by timmywil comment:1

component: unfiledattributes
priority: undecidedlow
resolution: → wontfix
status: newclosed

propHooks are not for arbitrary usage, but mostly for internal usage. The property just needs to be set to true/false.