From 0cf0a105e677c363e09a40350933d584d804ed83 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Thu, 10 Jul 2008 14:56:19 +0000 Subject: [PATCH] core: trigger() needs to be able to return a value from triggerHandler --- ui/ui.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); } }; -- 2.39.5