Skip to content
Permalink
Browse files

Reverted r1461

  • Loading branch information...
rdworth committed Jan 2, 2009
1 parent 55e6b80 commit ee76058e01121bd09524a43d2dbc97c12a2e9183
Showing with 1 addition and 4 deletions.
  1. +1 −4 ui/ui.core.js
@@ -375,10 +375,7 @@ $.widget.prototype = {
var eventName = (type == this.widgetEventPrefix
? type : this.widgetEventPrefix + type);
event = event || $.event.fix({ type: eventName, target: this.element[0] });

this.element.trigger(event, data);
var ret = (this.options[type] && this.options[type].call(this.element[0], event, data));
return !event.isDefaultPrevented() && ret !== false;
return this.element.triggerHandler(eventName, [event, data], this.options[type]);
}
};

0 comments on commit ee76058

Please sign in to comment.
You can’t perform that action at this time.