Page MenuHomePhabricator

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

Description

JQMIGRATE: jQuery.fn.live() is deprecated load.php?debug=true&lang=fi&modules=jquery%2Cmediawiki%7Ctwn.jserrorlog&only=scripts&skin=vector&ve…:10350
console.trace() load.php?debug=true&lang=fi&modules=jquery%2Cmediawiki%7Ctwn.jserrorlog&only=scripts&skin=vector&ve…:10352
migrateWarn load.php?debug=true&lang=fi&modules=jquery%2Cmediawiki%7Ctwn.jserrorlog&only=scripts&skin=vector&ve…:10352
jQuery.fn.live load.php?debug=true&lang=fi&modules=jquery%2Cmediawiki%7Ctwn.jserrorlog&only=scripts&skin=vector&ve…:10780
(anonymous function) SF_submit.js:185
(anonymous function)

SemanticForms/libs/SF_submit.js
185: .live( 'keyup', function ( event ) {
192: .live( 'change', setChanged );
195: .live( 'click', setChanged );
198: .live( 'mousedown', setChanged );


Version: master
Severity: normal

Details

Reference
bz65667

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz65667.

Niklas - thanks for letting us know about these! I was wondering if/how the jQuery upgrade would affect the "Semantic Bundle" extensions, especially SF.

I'm reassigning this to Stephan...

Change 138276 had a related patch set uploaded by Foxtrott:
fix bug 65667: Replace .live by .on

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

Change 138276 merged by Foxtrott:
fix bug 65667: Replace .live by .on

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