Fixed pasting of quotes
authorAlexander Ebert <ebert@woltlab.com>
Wed, 3 Apr 2013 19:56:25 +0000 (21:56 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 3 Apr 2013 19:56:25 +0000 (21:56 +0200)
templates/conversation.tpl

index 4ad15e8629753d31a4ee5aaca6df6380185a726f..4de3580acd58517a6d0b0dd3f552547385881359 100644 (file)
@@ -30,7 +30,9 @@
                        
                        new WCF.Conversation.Message.InlineEditor({@$conversation->conversationID});
                        
-                       {include file='__messageQuoteManager' wysiwygSelector='text' supportPaste=true}
+                       {assign var=__supportPaste value=true}
+                       {if $conversation->isClosed}{assign var=__supportPaste value=false}{/if}
+                       {include file='__messageQuoteManager' wysiwygSelector='text' supportPaste=$__supportPaste}
                        new WCF.Conversation.Message.QuoteHandler($quoteManager);
                        {if !$conversation->isClosed}new WCF.Conversation.QuickReply($quoteManager);{/if}