From 5f65a248074c63aa7f9ee4548cff6d8dbae0abf4 Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Wed, 18 Dec 2024 13:09:49 +0100 Subject: [PATCH] Don't create new `WCF.Message.Quote.Manager` --- .../templates/shared_messageQuoteManager.tpl | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/com.woltlab.wcf/templates/shared_messageQuoteManager.tpl b/com.woltlab.wcf/templates/shared_messageQuoteManager.tpl index e8c9c7b0da..2460636c22 100644 --- a/com.woltlab.wcf/templates/shared_messageQuoteManager.tpl +++ b/com.woltlab.wcf/templates/shared_messageQuoteManager.tpl @@ -1,14 +1 @@ -WCF.Language.addObject({ - 'wcf.message.quote.insertAllQuotes': '{jslang}wcf.message.quote.insertAllQuotes{/jslang}', - 'wcf.message.quote.insertSelectedQuotes': '{jslang}wcf.message.quote.insertSelectedQuotes{/jslang}', - 'wcf.message.quote.manageQuotes': '{jslang}wcf.message.quote.manageQuotes{/jslang}', - 'wcf.message.quote.quoteSelected': '{jslang}wcf.message.quote.quoteSelected{/jslang}', - 'wcf.message.quote.quoteAndReply': '{jslang}wcf.message.quote.quoteAndReply{/jslang}', - 'wcf.message.quote.removeAllQuotes': '{jslang}wcf.message.quote.removeAllQuotes{/jslang}', - 'wcf.message.quote.removeSelectedQuotes': '{jslang}wcf.message.quote.removeSelectedQuotes{/jslang}', - 'wcf.message.quote.showQuotes': '{jslang __literal=true}wcf.message.quote.showQuotes{/jslang}' -}); - -{if !$wysiwygSelector|isset}{assign var=wysiwygSelector value=''}{/if} -{if !$supportPaste|isset}{assign var=supportPaste value=false}{/if} -var $quoteManager = new WCF.Message.Quote.Manager({@$__quoteCount}, '{$wysiwygSelector|encodeJS}', {if $supportPaste}true{else}false{/if}, [ {implode from=$__quoteRemove item=quoteID}'{$quoteID}'{/implode} ]); +{* Deprecated since 6.2 *} -- 2.20.1