From: Alexander Ebert Date: Fri, 13 Feb 2015 12:13:27 +0000 (+0100) Subject: Fixed quote removal on submit X-Git-Tag: 2.1.0_RC_1~22 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ab722ba5576f0c269787eee3b7e3dd49a5263415;p=GitHub%2FWoltLab%2FWCF.git Fixed quote removal on submit --- diff --git a/wcfsetup/install/files/js/WCF.Message.js b/wcfsetup/install/files/js/WCF.Message.js index 7f6dc42720..29aaaa699a 100644 --- a/wcfsetup/install/files/js/WCF.Message.js +++ b/wcfsetup/install/files/js/WCF.Message.js @@ -1595,7 +1595,8 @@ WCF.Message.InlineEditor = Class.extend({ data: { message: $message }, - objectID: $objectID + objectID: $objectID, + removeQuoteIDs: (this._quoteManager === null ? [ ] : this._quoteManager.getQuotesMarkedForRemoval()) }; WCF.System.Event.fireEvent('com.woltlab.wcf.messageOptionsInline', 'submit_' + this._messageEditorIDPrefix + $objectID, $parameters); @@ -1701,6 +1702,7 @@ WCF.Message.InlineEditor = Class.extend({ if (this._quoteManager) { this._quoteManager.clearAlternativeEditor(); + this._quoteManager.countQuotes(); } },