mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-23 16:06:53 +00:00
CommentController: fix a call to a missing setSaveErrorMessage
Follow-up to 6a17f6121c
, which refactored
this and missed altering this call.
Bug: T373288
Change-Id: Ic9b7b32a2fef209b4e873e2b28881a2792805051
This commit is contained in:
parent
f57ee98ee8
commit
4ec197a8cb
|
@ -505,7 +505,7 @@ CommentController.prototype.saveFail = function ( code, data ) {
|
|||
code = 'captcha';
|
||||
this.replyWidget.setCaptcha( captchaData );
|
||||
} else {
|
||||
this.setSaveErrorMessage( code, data );
|
||||
this.replyWidget.setSaveErrorMessage( code, data );
|
||||
}
|
||||
|
||||
if ( code instanceof Error ) {
|
||||
|
|
Loading…
Reference in a new issue