mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
'clearMessage' is a method of MWSaveDialog, not ViewPageTarget
Fixes a small casualty left behind by 972c9a46b7
.
Bug: 55726
Change-Id: I8cf8418dede002068fb1090d940b09c3bb91c196
This commit is contained in:
parent
395d5f563c
commit
b001b2b976
|
@ -799,7 +799,7 @@ ve.init.mw.ViewPageTarget.prototype.saveDocument = function () {
|
|||
// 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue