Opened 13 years ago

Closed 13 years ago

#5064 closed enhancement (fixed)

Widget: make multiple instantiation more useful

Reported by: Scott González Owned by:
Priority: blocker Milestone: 1.8
Component: ui.widget Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

Currently when trying to instantiate a plugin multiple times, all subsequent calls are ignored. Instead, we should delegate out to the option method and perform any "start up" actions. For example, A second call to $(el).dialog() should re-open the dialog.

Technical implementation:
rename _widgetInit -> _widgetCreate
rename _init -> _create
add _init for post-create start up actions

Change History (1)

comment:1 Changed 13 years ago by Scott González

Resolution: fixed
Status: newclosed

Fixed in r3687 and 3688.

Note: See TracTickets for help on using tickets.