mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-30 19:16:39 +00:00
Merge "CommentController: fix a call to a missing setSaveErrorMessage"
This commit is contained in:
commit
a74379a927
|
@ -505,7 +505,7 @@ CommentController.prototype.saveFail = function ( code, data ) {
|
||||||
code = 'captcha';
|
code = 'captcha';
|
||||||
this.replyWidget.setCaptcha( captchaData );
|
this.replyWidget.setCaptcha( captchaData );
|
||||||
} else {
|
} else {
|
||||||
this.setSaveErrorMessage( code, data );
|
this.replyWidget.setSaveErrorMessage( code, data );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( code instanceof Error ) {
|
if ( code instanceof Error ) {
|
||||||
|
|
Loading…
Reference in a new issue