mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-23 16:06:53 +00:00
Fix missing definition of setSaveErrorMessage too
Follow-up to6a17f6121c
and4ec197a8cb
. Bug: T373288 Change-Id: I5250354fec0c217faa43a7fb2f51ee68c4116ab8
This commit is contained in:
parent
f43e1fe58f
commit
5bb03b9e7f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue