Ticket #5064 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Widget: make multiple instantiation more useful

Reported by: scott.gonzalez Owned by:
Priority: blocker Milestone: 1.8
Component: ui.widget Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:

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

comment:1 Changed 5 years ago by scott.gonzalez

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

Fixed in r3687 and 3688.

Note: See TracTickets for help on using tickets.