From 4ec197a8cb75ac23c3e27901ff67f5c11897de9e Mon Sep 17 00:00:00 2001 From: David Lynch Date: Mon, 26 Aug 2024 09:15:21 -0500 Subject: [PATCH] CommentController: fix a call to a missing setSaveErrorMessage Follow-up to 6a17f6121c0e2ae8044aeb7f0933ff19f03023f2, which refactored this and missed altering this call. Bug: T373288 Change-Id: Ic9b7b32a2fef209b4e873e2b28881a2792805051 --- modules/CommentController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/CommentController.js b/modules/CommentController.js index ee635d57f..baef4cecb 100644 --- a/modules/CommentController.js +++ b/modules/CommentController.js @@ -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 ) {