Fomafix has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/344477 )

Change subject: Replace deprecated jQuery .unbind() by .off()
......................................................................

Replace deprecated jQuery .unbind() by .off()

jQuery .unbind() is deprecated since jQuery 3.0.
https://api.jquery.com/unbind/

The deprecated jQuery .bind() was aready replaced by .on() in 7769baa5.

Change-Id: Ia03d7a26754cc26345d9551d740719c43f598995
---
M modules/jquery.wikiEditor.dialogs.config.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiEditor 
refs/changes/77/344477/1

diff --git a/modules/jquery.wikiEditor.dialogs.config.js 
b/modules/jquery.wikiEditor.dialogs.config.js
index 23e5ac4..81c269d 100644
--- a/modules/jquery.wikiEditor.dialogs.config.js
+++ b/modules/jquery.wikiEditor.dialogs.config.js
@@ -1265,7 +1265,7 @@
                                                close: function () {
                                                        var context = $( this 
).data( 'context' ),
                                                                textbox = 
context.$textarea;
-                                                       $( textbox ).unbind( 
'keypress.srdialog' );
+                                                       $( textbox ).off( 
'keypress.srdialog' );
                                                        $( this ).closest( 
'.ui-dialog' ).data( 'dialogaction', false );
                                                }
                                        }

-- 
To view, visit https://gerrit.wikimedia.org/r/344477
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia03d7a26754cc26345d9551d740719c43f598995
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiEditor
Gerrit-Branch: master
Gerrit-Owner: Fomafix <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to