aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.core.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.core.js')
-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 03bb59849..4afd2066f 100644
--- a/ui/ui.core.js
+++ b/ui/ui.core.js
@@ -371,7 +371,7 @@ $.widget.prototype = {
? type : this.widgetEventPrefix + type);
// event can be null, a hash, a native event, a fixed event
- event = $.Event(event);
+ event = event ? $.extend(event, $.Event()) : $.Event();
event.type = eventName;
this.element.trigger(event, data);