From 8f1f0a7d46e12aa950fab4c3734bf505a7c34696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Tue, 27 Aug 2024 23:13:27 +0200 Subject: [PATCH] Fix missing definition of setSaveErrorMessage too Follow-up to 6a17f6121c0e2ae8044aeb7f0933ff19f03023f2 and 4ec197a8cb75ac23c3e27901ff67f5c11897de9e. Bug: T373288 Change-Id: I5250354fec0c217faa43a7fb2f51ee68c4116ab8 (cherry picked from commit 5bb03b9e7f69f389bb0f8950c4351767246534cc) --- modules/dt.ui.ReplyWidget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dt.ui.ReplyWidget.js b/modules/dt.ui.ReplyWidget.js index c985771a8..a9f0c3bbb 100644 --- a/modules/dt.ui.ReplyWidget.js +++ b/modules/dt.ui.ReplyWidget.js @@ -1072,7 +1072,7 @@ ReplyWidget.prototype.onReplyClick = function () { * @param {string} code Error code * @param {Object} data Error data */ -ReplyWidget.setSaveErrorMessage = function ( code, data ) { +ReplyWidget.prototype.setSaveErrorMessage = function ( code, data ) { if ( !( // Don't duplicate the parentRemovedErrorMessage code === 'discussiontools-commentname-notfound' && this.parentRemovedErrorMessage