aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.widget.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2011-05-02 13:12:36 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2011-05-02 13:12:36 +0200
commitd8e60e9a8a6898ea3dfc710c554d9bfe13b0f77e (patch)
tree5bb960da36a12d73cbdfb21ec6d3dd51a6b65ab5 /ui/jquery.ui.widget.js
parenta03c222f05aa2364189d264377e0a19da4d4c9ad (diff)
parent0c674ca7e35b84bc2c34ce47acd83dc7441bea35 (diff)
downloadjquery-ui-d8e60e9a8a6898ea3dfc710c554d9bfe13b0f77e.tar.gz
jquery-ui-d8e60e9a8a6898ea3dfc710c554d9bfe13b0f77e.zip
Merge branch 'master' into tooltip-animations
Diffstat (limited to 'ui/jquery.ui.widget.js')
-rw-r--r--ui/jquery.ui.widget.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js
index a5c59ad3c..65a9f1ce4 100644
--- a/ui/jquery.ui.widget.js
+++ b/ui/jquery.ui.widget.js
@@ -155,7 +155,10 @@ $.Widget.prototype = {
widgetEventPrefix: "",
defaultElement: "<div>",
options: {
- disabled: false
+ disabled: false,
+
+ // callbacks
+ create: null
},
_createWidget: function( options, element ) {
element = $( element || this.defaultElement || this )[ 0 ];