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:
David Lynch 2024-08-26 09:15:21 -05:00
parent f57ee98ee8
commit 4ec197a8cb

View file

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