Skip to main content

Search and Top Navigation

#7959 closed bug (notabug)

Opened December 19, 2011 05:47AM UTC

Closed December 19, 2011 01:26PM UTC

.button("enable") is enabling wrong element when used on a .clone()'d element

Reported by: jdestef Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.button Version: 1.8.11
Keywords: Cc:
Blocked by: Blocking:
Description

http://jsfiddle.net/KsSQv/3/

In that fiddle, b is the second button, however b.("enable") is enabling the first button.

Furthermore, if i used b.button({disabled: false}) or b.button("option", "disabled", false), absolutely nothing happens :)

Attachments (0)
Change History (2)

Changed December 19, 2011 05:48AM UTC by jdestef comment:1

_comment0: oops, light typo in my description. b.("enable") should be b.button("enable")... \ \ the jsfiddle is correct though. \ 1324273716442788

oops, slight typo in my description. b.("enable") should be b.button("enable")...

the jsfiddle is correct though.

Changed December 19, 2011 01:26PM UTC by scottgonzalez comment:2

resolution: → invalid
status: newclosed

We don't support cloning widgets.