aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2008-07-10 14:56:19 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2008-07-10 14:56:19 +0000
commit0cf0a105e677c363e09a40350933d584d804ed83 (patch)
tree142ea1e6b3ef4df2f128d295df565d78c92037bf /ui
parent0a12681f3089ca564832ac33c3caf928841bae73 (diff)
downloadjquery-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.js2
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]);
}
};