Opened 11 years ago

Closed 11 years ago

#7959 closed bug (notabug)

.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 :)

Change History (2)

comment:1 Changed 11 years ago by jdestef

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

the jsfiddle is correct though.

Last edited 11 years ago by jdestef (previous) (diff)

comment:2 Changed 11 years ago by Scott González

Resolution: invalid
Status: newclosed

We don't support cloning widgets.

Note: See TracTickets for help on using tickets.