diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-01-21 08:45:41 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-01-21 08:45:41 -0500 |
commit | da89fcbc07f236d43e6a1edd98603beea6e245b6 (patch) | |
tree | 7e73b10ce5eb3e58fa991dccfc50dd4212cdd76d /ui | |
parent | 0cf6bc042938a11abc09ed4e575c8792585607ac (diff) | |
download | jquery-ui-da89fcbc07f236d43e6a1edd98603beea6e245b6.tar.gz jquery-ui-da89fcbc07f236d43e6a1edd98603beea6e245b6.zip |
Widget: Added _getCreateEventData(). Fixes #8045 - Widget: Ability to provide event data for create event.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.widget.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js index 5c8560bfd..ad03e6f44 100644 --- a/ui/jquery.ui.widget.js +++ b/ui/jquery.ui.widget.js @@ -204,10 +204,11 @@ $.Widget.prototype = { } this._create(); - this._trigger( "create" ); + this._trigger( "create", null, this._getCreateEventData() ); this._init(); }, _getCreateOptions: $.noop, + _getCreateEventData: $.noop, _create: $.noop, _init: $.noop, |