Page MenuHomePhabricator

LiquidThreads: Fix "JQMIGRATE: jQuery.fn.live() is deprecated"
Closed, ResolvedPublic

Description

LiquidThreads/lqt.js
1595: $( '.lqt-command-watch' ).live( 'click', liquidThreads.asyncWatch );
1596: $( '.lqt-command-unwatch' ).live( 'click', liquidThreads.asyncWatch );
1599: $( '.lqt-command-link' ).live( 'click', liquidThreads.showThreadLinkWindow );
1602: $( '.lqt-summary-link' ).live( 'click', liquidThreads.showSummaryLinkWindow );
1605: $( 'a.lqt-show-replies' ).live( 'click', liquidThreads.showReplies );
1608: $( 'a.lqt-show-more-posts' ).live( 'click', liquidThreads.showMore );
1611: $( '.lqt-command-edit > a' ).live( 'click', liquidThreads.handleEditLink );
1614: $( '#wpSave' ).live( 'click', liquidThreads.handleAJAXSave );
1615: $( '#wpTextbox1' ).live( 'keyup', liquidThreads.onTextboxKeyUp );


Version: master
Severity: major
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=65679

Details

Reference
bz65666

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:16 AM
bzimport set Reference to bz65666.

Change 140221 had a related patch set uploaded by TheDJ:
Replace obsolete live() with $( document ).on()

https://gerrit.wikimedia.org/r/140221

Change 140221 merged by jenkins-bot:
Replace obsolete live() with $( document ).on()

https://gerrit.wikimedia.org/r/140221