Ticket #3528: core.diff

File core.diff, 562 bytes (added by trixta, 12 years ago)

the core.diff

  • ui.core.js

     
    256256                var eventName = (type == this.widgetEventPrefix
    257257                        ? type : this.widgetEventPrefix + type);
    258258                e = e  || $.event.fix({ type: eventName, target: this.element[0] });
    259                 return this.element.triggerHandler(eventName, [e, data], this.options[type]);
     259                return this.element.triggerHandler(eventName, [e, $.extend({instance: this, options: this.options}, data)], this.options[type]);
    260260        }
    261261};
    262262