Search and Top Navigation
Ticket #3528: core.diff
File core.diff, 0.5 KB (added by trixta, October 30, 2008 07:51PM UTC)
the core.diff
Index: ui.core.js
===================================================================
--- ui.core.js (revision 847)
+++ ui.core.js (working copy)
@@ -256,7 +256,7 @@
var eventName = (type == this.widgetEventPrefix
? type : this.widgetEventPrefix + type);
e = e || $.event.fix({ type: eventName, target: this.element[0] });
- return this.element.triggerHandler(eventName, [e, data], this.options[type]);
+ return this.element.triggerHandler(eventName, [e, $.extend({instance: this, options: this.options}, data)], this.options[type]);
}
};
Download in other formats:
Original Format
File core.diff, 0.5 KB (added by trixta, October 30, 2008 07:51PM UTC)
the core.diff
Index: ui.core.js
===================================================================
--- ui.core.js (revision 847)
+++ ui.core.js (working copy)
@@ -256,7 +256,7 @@
var eventName = (type == this.widgetEventPrefix
? type : this.widgetEventPrefix + type);
e = e || $.event.fix({ type: eventName, target: this.element[0] });
- return this.element.triggerHandler(eventName, [e, data], this.options[type]);
+ return this.element.triggerHandler(eventName, [e, $.extend({instance: this, options: this.options}, data)], this.options[type]);
}
};