Skip to content
  • Cecilia Vela Gurovic's avatar
    Bug 1741987: Update jquery - Events · 3d1abcc2
    Cecilia Vela Gurovic authored and Robert Lyon's avatar Robert Lyon committed
    Event
       Breaking change: .load(), .unload(), and .error() removed
       Breaking change: .on("ready", fn) removed
       Breaking change: event.pageX and event.pageY normalization removed
       Breaking change: jQuery.event.props and jQuery.event.fixHooks removed
       Breaking change: Delegated events with bad selectors throw immediately
       Deprecated: .bind() and .delegate()
         no calls to .bind() for events in core.
         Only calls to bind() refer to the js bind of arguments to functions.
         no calls to unbind() for event in core.
         Only calls to unbind refer to the unbind method defined in
         formChangeManager not related to the jQuery method.
    
        Warnings fix
        JQMIGRATE: jQuery.fn.click() event shorthand is deprecated
        - also applies to the other event shorthands, including:
         blur, focus, focusin, focusout, resize, scroll, dblclick, mousedown,
         mouseup, mousemove, mouseover, mouseout, mouseenter, mouseleave,
         change, select, submit, keydown, keypress, keyup, and contextmenu.
    
        JQMIGRATE: jQuery.fn.hover() is deprecated
        JQMIGRATE: jQuery(window).on('load'...) called after load event occurred
    	(for FileBrowser we can see this error when editing a block in a page)
    
    behatnotneeded
    
    Change-Id: I1a50050f882b864ad63d273de160e0b441a77705
    3d1abcc2