Fix JavaScript references in templates
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 27 Jul 2015 19:00:39 +0000 (21:00 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 27 Jul 2015 19:00:39 +0000 (21:00 +0200)
com.woltlab.wcf/templates/header.tpl
com.woltlab.wcf/templates/tagInput.tpl
wcfsetup/install/files/acp/templates/bulkProcessing.tpl

index da10bedc202dc0ab4269cfefdf138097b68f1af8..c7d07ed72e88cd424b8f57cf77dcafadcf5181be 100644 (file)
@@ -72,8 +72,8 @@
                                        
                                        {if $sidebarOrientation|isset && $sidebarOrientation == 'right'}
                                                <script data-relocate="true">
-                                                       require(['WoltLab/WCF/UI/Collapsible/Sidebar'], function(UICollapsibleSidebar) {
-                                                               UICollapsibleSidebar.setup();
+                                                       require(['WoltLab/WCF/Ui/Collapsible/Sidebar'], function(UiCollapsibleSidebar) {
+                                                               UiCollapsibleSidebar.setup();
                                                        });
                                                </script>
                                        {/if}
index f6eed68baddab60a7eae29276c34476874e861f4..5efb00b8589ea455ac7614b2c18d675a8c8bd10b 100644 (file)
@@ -8,8 +8,8 @@
        </dl>
        
        <script data-relocate="true">
-               require(['WoltLab/WCF/UI/ItemList'], function(UIItemList) {
-                       UIItemList.init(
+               require(['WoltLab/WCF/Ui/ItemList'], function(UiItemList) {
+                       UiItemList.init(
                                'tagSearchInput{if $tagInputSuffix|isset}{@$tagInputSuffix}{/if}',
                                [{if $tags|isset && $tags|count}{implode from=$tags item=tag}'{$tag|encodeJS}'{/implode}{/if}],
                                {
index 43b403e84f70d8e03bdc768b95f1336526552682..57947578df29db8c665de030a4c54e9fcc22194b 100644 (file)
@@ -1,8 +1,8 @@
 {include file='header' pageTitle=$objectType->getProcessor()->getLanguageItemPrefix()}
 
 <script data-relocate="true">
-       require(['WoltLab/WCF/UI/TabMenu'], function(UITabMenu) {
-               UITabMenu.setup();
+       require(['WoltLab/WCF/Ui/TabMenu'], function(UiTabMenu) {
+               UiTabMenu.setup();
                
                function toggleActionOptions(event) {
                        var actionName = event.currentTarget.getAttribute('value');