jenkins-bot has submitted this change and it was merged. Change subject: 'clearMessage' is a method of MWSaveDialog, not ViewPageTarget ......................................................................
'clearMessage' is a method of MWSaveDialog, not ViewPageTarget Fixes a small casualty left behind by 972c9a46b7. Bug: 55726 Change-Id: I8cf8418dede002068fb1090d940b09c3bb91c196 --- M modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Krinkle: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js index 13c1602..bc207ec 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js @@ -799,7 +799,7 @@ // reset save start and any old captcha data this.saveStart = ve.now(); if ( this.captcha ) { - this.clearMessage( 'captcha' ); + this.saveDialog.clearMessage( 'captcha' ); delete this.captcha; } -- To view, visit https://gerrit.wikimedia.org/r/89773 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8cf8418dede002068fb1090d940b09c3bb91c196 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Ori.livneh <o...@wikimedia.org> Gerrit-Reviewer: Krinkle <krinklem...@gmail.com> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits