Merge "CommentController: fix a call to a missing setSaveErrorMessage"

This commit is contained in:
jenkins-bot 2024-08-26 17:23:44 +00:00 committed by Gerrit Code Review
commit a74379a927

View file

@ -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 ) {