Commit fc5614ab authored by Tino Goratsch's avatar Tino Goratsch

move some javascript files around

parent c1dcbdcf
......@@ -22,7 +22,7 @@ class Libraries
'enabled' => true,
'enabled_for_ajax' => false,
'dependencies' => ['bootstrap', 'jquery'],
'js' => 'ajax-form.js',
'js' => 'partials/ajax-form.js',
],
'bootbox' => [
'enabled' => false,
......
......@@ -54,7 +54,7 @@ class Helpers
$this->view->assign('emoticons_field_id', empty($formFieldId) ? 'message' : $formFieldId);
$this->view->assign('emoticons', $this->emoticonsCache->getCache());
return $this->view->fetchTemplate('emoticons/emoticons.tpl');
return $this->view->fetchTemplate('Emoticons/Partials/emoticons.tpl');
}
return '';
......
{javascripts}
{include_js module="emoticons" file="emoticons"}
{include_js module="emoticons" file="partials/emoticons"}
{/javascripts}
<div class="icons my-1" data-emoticons-input="#{$emoticons_field_id}">
{foreach $emoticons as $key => $value}
......
......@@ -32,5 +32,5 @@
<input type="hidden" name="menu_item_uri_pattern" value="{$uri_pattern}">
</div>
{javascripts}
{include_js module="menus" file="manage-menu-item"}
{include_js module="menus" file="partials/manage-menu-item"}
{/javascripts}
......@@ -46,6 +46,6 @@
</div>
{include file="asset:System/Partials/form_group.submit_split.tpl" form_token=$form_token back_url={uri args="acp/polls"}}
{javascripts}
{include_js module="system" file="hash-change"}
{include_js module="system" file="partials/hash-change"}
{/javascripts}
{/block}
......@@ -31,6 +31,6 @@
{/if}
{if !isset($disable_alias_suggest)}
{javascripts}
{include_js module="seo" file="suggest_alias"}
{include_js module="seo" file="partials/suggest_alias"}
{/javascripts}
{/if}
......@@ -2,5 +2,5 @@
{include file="asset:Seo/Partials/seo_fields.tpl" seo=$seo}
</div>
{javascripts}
{include_js module="system" file="add_tab"}
{include_js module="system" file="partials/add_tab"}
{/javascripts}
......@@ -2,5 +2,5 @@
{include file="asset:Share/Partials/share_fields.tpl" share=$share}
</div>
{javascripts}
{include_js module="system" file="add_tab"}
{include_js module="system" file="partials/add_tab"}
{/javascripts}
......@@ -111,6 +111,6 @@
</div>
</div>
{javascripts}
{include_js module="system" file="hash-change"}
{include_js module="system" file="partials/hash-change"}
{/javascripts}
{/block}
{javascripts}
{include_js module="system" file="datepicker" depends="datetimepicker"}
{include_js module="system" file="partials/datepicker" depends="datetimepicker"}
{/javascripts}
{if $datepicker.range == 1}
{include file="asset:System/Partials/datepicker.range.tpl" datepicker=$datepicker}
......
{javascripts}
{include_js module="system" file="mark" depends="bootbox"}
{include_js module="system" file="partials/mark" depends="bootbox"}
{/javascripts}
......@@ -33,6 +33,6 @@
{$wysiwyg.advanced_replace_content}
};
</script>
{include_js module="system" file="wysiwyg" depends="bootstrap"}
{include_js module="system" file="partials/wysiwyg" depends="bootstrap"}
{/javascripts}
{/if}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment