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 (cherry picked from commit5bb03b9e7f
)
This commit is contained in:
parent
a74379a927
commit
8f1f0a7d46
|
@ -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