diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-07-10 14:56:19 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-07-10 14:56:19 +0000 |
commit | 0cf0a105e677c363e09a40350933d584d804ed83 (patch) | |
tree | 142ea1e6b3ef4df2f128d295df565d78c92037bf /ui | |
parent | 0a12681f3089ca564832ac33c3caf928841bae73 (diff) | |
download | jquery-ui-0cf0a105e677c363e09a40350933d584d804ed83.tar.gz jquery-ui-0cf0a105e677c363e09a40350933d584d804ed83.zip |
core: trigger() needs to be able to return a value from triggerHandler
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js index 0c8a1164a..339d70704 100644 --- a/ui/ui.core.js +++ b/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]); } }; |