Opened 9 years ago

Closed 9 years ago

#5732 closed feature (fixed)

Widget: Make the widget method maintain the stack

Reported by: Scott González Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.widget Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

Description

$( el ).plugin( "widget" ).end() should work like any other plugin that modifies the stack.

Change History (8)

comment:1 Changed 9 years ago by Jörn Zaefferer

Resolution: fixed
Status: newclosed

Fixed in ea58cd5.

Always use this.element.pushStack(widgetElement.get()) in custom widget() implementations.

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

Resolution: fixed
Status: closedreopened

Reverted the commit. See commit notes.

comment:3 Changed 9 years ago by Jörn Zaefferer

Resolution: fixed
Status: reopenedclosed

Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack

Changeset: ea58cd5ac0d852a9c7d7ceadbcbb74006cf9052d

comment:4 Changed 9 years ago by Jörn Zaefferer

Use pushStack in tooltip's widget method. See #5732

Changeset: 96977edecc134d9212a304a1236e823237e8e274

comment:5 Changed 9 years ago by Scott González

Revert "Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack"

This reverts commit ea58cd5ac0d852a9c7d7ceadbcbb74006cf9052d.

Changeset: 58ae7ce2fd20fb865c9087fb2eae0dbdb39fc9a7

comment:6 Changed 9 years ago by Scott González

Resolution: fixed
Status: closedreopened

comment:7 Changed 9 years ago by Scott González

Summary: make the widget method maintain the stackWidget: Make the widget method maintain the stack

comment:8 Changed 9 years ago by Scott González

Resolution: fixed
Status: reopenedclosed

Widget: Maintain stack when a method returns a jQuery object. Fixes #5732 - Widget: Make the widget method maintain the stack.

Changeset: f77224055a65f8343cd53411608a95d98db97138

Note: See TracTickets for help on using tickets.