Remove obsolete CDATA in script elements
authorMatthias Schmidt <gravatronics@live.com>
Mon, 19 Sep 2016 17:25:34 +0000 (19:25 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 19 Sep 2016 17:25:34 +0000 (19:25 +0200)
templates/__userPanelConversationDropdown.tpl
templates/conversation.tpl
templates/conversationMessageInlineEditor.tpl

index bd78be12332d8008364214d0e7d2e8378c3905ba..10b9f0a9dbc6fd1a11334f08f64b75c68deeb48d 100644 (file)
@@ -4,7 +4,6 @@
                {if !OFFLINE || $__wcf->session->getPermission('admin.general.canViewPageDuringOfflineMode')}
                        <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@LAST_UPDATE_TIME}"></script>
                        <script data-relocate="true">
-                               //<![CDATA[
                                $(function() {
                                        new WCF.User.Panel.Conversation({
                                                markAllAsReadConfirmMessage: '{lang}wcf.conversation.markAllAsRead.confirmMessage{/lang}',
@@ -15,7 +14,6 @@
                                                title: '{lang}wcf.conversation.conversations{/lang}'
                                        });
                                });
-                               //]]>
                        </script>
                {/if}
        </li>
index d7dd220b4bf9a355a788276b3eb44b5d0e65376a..7f2d9071f7ce4e3f2185a745eaafd4ef76c9c943 100644 (file)
 {if !ENABLE_DEBUG_MODE}<script src="{@$__wcf->getPath()}js/WoltLabSuite.Core.Conversation.min.js?v={@LAST_UPDATE_TIME}"></script>{/if}
 <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@LAST_UPDATE_TIME}"></script>
 <script data-relocate="true">
-       //<![CDATA[
        $(function() {
                WCF.Language.addObject({
                        'wcf.conversation.edit.addParticipants': '{lang}wcf.conversation.edit.addParticipants{/lang}',
                new WCF.Conversation.RemoveParticipant({@$conversation->conversationID});
                new WCF.Message.BBCode.CodeViewer();
        });
-       //]]>
 </script>
 
 {include file='footer'}
index 79fd56b6ebc4ceb7afd61f48f133c7291b356b9b..8fb04564065a1f203b4cf3624893ca956a969742 100644 (file)
        
        {include file='wysiwyg' wysiwygEnableUpload=true}
        <script data-relocate="true">
-               //<![CDATA[
                $(function() {
                        WCF.System.Dependency.Manager.register('Redactor_messageEditor{@$message->messageID}', function() { new WCF.Message.UserMention('messageEditor{@$message->messageID}'); });
                });
-               //]]>
        </script>
 </div>