Opened 7 years ago

Closed 7 years ago

#5064 closed enhancement (fixed)

Widget: make multiple instantiation more useful

Reported by: scottgonzalez 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 7 years ago by scottgonzalez

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r3687 and 3688.

Note: See TracTickets for help on using tickets.