1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40: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'} {include file='header' pageTitle='chat.acp.suspension.list'}
<script> <script data-relocate="true">
//<![CDATA[ //<![CDATA[
$(function() { $(function() {
new WCF.Search.User('#username', null, false, [ ], false); new WCF.Search.User('#username', null, false, [ ], false);

View File

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

View File

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

View File

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