Skip to content
Permalink
Browse files

core: trigger() needs to be able to return a value from triggerHandler

  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jul 10, 2008
1 parent 0a12681 commit 0cf0a105e677c363e09a40350933d584d804ed83
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.core.js
@@ -158,7 +158,7 @@ $.widget.prototype = {
var eventName = (type == this.widgetEventPrefix
? type : this.widgetEventPrefix + type);
e = e || $.event.fix({ type: eventName, target: this.element[0] });
this.element.triggerHandler(eventName, [e, data], this.options[type]);
return this.element.triggerHandler(eventName, [e, data], this.options[type]);
}
};

0 comments on commit 0cf0a10

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