Fixed quote error on quick reply
authorAlexander Ebert <ebert@woltlab.com>
Wed, 24 Jul 2013 12:53:04 +0000 (14:53 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 24 Jul 2013 12:53:04 +0000 (14:53 +0200)
wcfsetup/install/files/js/WCF.Message.js

index 5fa963f013234ec8c107f1a6370c9f18fca73ac7..7bff6183be94de7744fcf6dbc83da1687be9b23e 100644 (file)
@@ -645,7 +645,8 @@ WCF.Message.QuickReply = Class.extend({
         * @param       WCF.Message.Quote.Manager       quoteManager
         */
        init: function(supportExtendedForm, quoteManager) {
-               this._container = $('#messageQuickReply');
+               this._container = $('#messageQuickReply')
+               this._container.children('.message').addClass('jsInvalidQuoteTarget');
                this._messageField = $('#text');
                this._pendingSave = false;
                if (!this._container || !this._messageField) {