1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Activate relocation of scripts

This commit is contained in:
Maximilian Mader 2013-08-02 00:37:26 +02:00
parent 895bc98fef
commit 3dba0e8e6b
6 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{include file='header' pageTitle='chat.acp.suspension.list'}
<script>
<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Search.User('#username', null, false, [ ], false);

View File

@ -1,7 +1,7 @@
{include file='header' pageTitle='chat.acp.room.'|concat:$action}
<script src="{@$__wcf->getPath('wcf')}js/WCF.ACL.js"></script>
<script>
<script data-relocate="true" src="{@$__wcf->getPath('wcf')}js/WCF.ACL.js"></script>
<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.ACL.List($('#groupPermissions'), {@$objectTypeID}, ''{if $roomID|isset}, {@$roomID}{/if});

View File

@ -1,6 +1,6 @@
{include file='header' pageTitle='chat.acp.room.list'}
<script>
<script data-relocate="true">
//<![CDATA[
$(function() {
new WCF.Action.Delete('\\chat\\data\\room\\RoomAction', $('.chatRoomRow'));

View File

@ -5,7 +5,7 @@
{include file='headInclude' sandbox=false}
{include file='javascriptInclude' application='chat'}
<script>
<script data-relocate="true">
//<![CDATA[
(function ($, window) {
$(function(){

View File

@ -35,7 +35,7 @@
{@$roomList}
</ul>
</div>
<script>
<script data-relocate="true">
//<![CDATA[
(function($, window, undefined) {
proxy = new WCF.Action.Proxy({

View File

@ -1,3 +1,3 @@
<script src="{$__wcf->getPath('chat')}js/be.bastelstu.Chat{if !ENABLE_DEBUG_MODE}.min{/if}.js?version={PACKAGE_VERSION|rawurlencode}"></script>
<script data-relocate="true" src="{$__wcf->getPath('chat')}js/be.bastelstu.Chat{if !ENABLE_DEBUG_MODE}.min{/if}.js?version={PACKAGE_VERSION|rawurlencode}"></script>
<!--script src="{$__wcf->getPath('chat')}js/be.bastelstu.Chat.Log{if !ENABLE_DEBUG_MODE}.min{/if}.js?version={PACKAGE_VERSION|rawurlencode}"></script-->
{event name='javascript'}