Page MenuHomePhabricator

ULS: attrName property no longer exposed on jQuery.Event objects in jQuery 1.9
Closed, ResolvedPublic

Details

Reference
bz66064

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:26 AM
bzimport set Reference to bz66064.

Note:

These are non-standard properties that were not reliably available cross-browser anyway. Even the jQuery.Event object passed as 'event' argument only copied them when available, so that's why it was no longer copied as of jQuery 1.9 because it creates a dangerous API that might work for the developer but not for many users.

On any version of jQuery, these properties can still be accessed on browsers that support them by using event.originalEvent instead of event.

(In reply to Santhosh Thottingal from comment #1)

Thanks for reporting. Upstream fix
https://github.com/wikimedia/jquery.ime/commit/
dd2aa0f27e554f751abd330d4d66279d838b874b

Cool :) This bug to be closed once it is synced.