Ori.livneh has uploaded a new change for review.

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


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 I8c0db01fb.

Bug: 55726

Change-Id: I8cf8418dede002068fb1090d940b09c3bb91c196
---
M modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/73/89773/1

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: newchange
Gerrit-Change-Id: I8cf8418dede002068fb1090d940b09c3bb91c196
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <o...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to