Search and Top Navigation
#5064 closed enhancement (fixed)
Opened January 15, 2010 03:52PM UTC
Closed January 15, 2010 09:17PM UTC
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
Attachments (0)
Change History (1)
Changed January 15, 2010 09:17PM UTC by comment:1
resolution: | → fixed |
---|---|
status: | new → closed |
Fixed in r3687 and 3688.