Use `Ui/Message/Quote` instead of `WCF.Conversation.Message.QuoteHandler`
authorMatthias Schmidt <gravatronics@live.com>
Mon, 5 Jul 2021 11:54:06 +0000 (13:54 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 5 Jul 2021 11:54:06 +0000 (13:54 +0200)
templates/conversation.tpl

index 829e042500adf7a6c20e31b99ac156ac099b18e4..517bcd33508a1390f48ba8432c13cdcf2c334587 100644 (file)
                {include file='__messageQuoteManager' wysiwygSelector='text' supportPaste=$__supportPaste}
                
                new WCF.Conversation.Message.InlineEditor({@$conversation->conversationID}, $quoteManager);
-               new WCF.Conversation.Message.QuoteHandler($quoteManager);
+               
+               require(["WoltLabSuite/Core/Conversation/Ui/Message/Quote"], ({ UiConversationMessageQuote }) => {
+                       new UiConversationMessageQuote($quoteManager);
+               });
                
                {if $conversation->canReply()}
                        require(['WoltLabSuite/Core/Ui/Message/Reply'], function(UiMessageReply) {