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.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js
index eb0420c62..313074032 100644
--- a/ui/ui.core.js
+++ b/ui/ui.core.js
@@ -352,6 +352,7 @@ $.widget.prototype = {
event = $.Event(event);
event.type = eventName;
+ data = data || {};
// copy original event properties over to the new event
// this would happen if we could call $.event.fix instead of $.Event