Seb35 has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/393282 )
Change subject: Cancel button returns Undefined error ...................................................................... Cancel button returns Undefined error The associated HTML changed in MediaWiki commit 97d7de0b. Bug: T177313 Change-Id: I360fbd375efd7090256626df3fce418a5aa45ac2 --- M modules/jquery.wikiEditor.publish.js 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiEditor refs/changes/82/393282/1 diff --git a/modules/jquery.wikiEditor.publish.js b/modules/jquery.wikiEditor.publish.js index b2ec8c6..a46da23 100644 --- a/modules/jquery.wikiEditor.publish.js +++ b/modules/jquery.wikiEditor.publish.js @@ -152,7 +152,7 @@ context.fn.addButton( { captionMsg: 'wikieditor-publish-button-cancel', action: function () { - window.location.href = $( '#mw-editform-cancel' ).attr( 'href' ); + window.location.href = $( '#mw-editform-cancel a' ).attr( 'href' ); return false; } } ); -- To view, visit https://gerrit.wikimedia.org/r/393282 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I360fbd375efd7090256626df3fce418a5aa45ac2 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WikiEditor Gerrit-Branch: master Gerrit-Owner: Seb35 <se...@seb35.fr> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits