Widget: Fixed reference to element in _getCreateOptions().

This commit is contained in:
Scott González 2010-10-19 23:19:53 -04:00
parent 7d9d2b551f
commit c74f53898e

View File

@ -158,7 +158,7 @@ $.Widget.prototype = {
this._init(); this._init();
}, },
_getCreateOptions: function() { _getCreateOptions: function() {
return $.metadata && $.metadata.get( element )[ this.widgetName ]; return $.metadata && $.metadata.get( this.element[0] )[ this.widgetName ];
}, },
_create: function() {}, _create: function() {},
_init: function() {}, _init: function() {},