Merge branch 'upload_management' of https://github.com/thelia/thelia into upload_management
This commit is contained in:
@@ -26,19 +26,8 @@ Parameters:
|
||||
|
||||
</div>
|
||||
|
||||
{*{block name="javascript-initialization"}*}
|
||||
{*{$smarty.block.parent}*}
|
||||
|
||||
{*{javascripts file='assets/js/image-upload.js'}*}
|
||||
{*<script src="{$asset_url}"></script>*}
|
||||
{*{/javascripts}*}
|
||||
{*{javascripts file='assets/js/dropzone.js'}*}
|
||||
{*<script src="{$asset_url}"></script>*}
|
||||
{*{/javascripts}*}
|
||||
{*{/block}*}
|
||||
|
||||
<script>
|
||||
var imageDropZoneUrl = "{url path="/admin/image/type/$imageType/$parentId/save-ajax"}";
|
||||
var imageListUrl = "{url path="/admin/image/type/$imageType/$parentId/list-ajax"}";
|
||||
var imageListErrorMessage = "{intl l='Can\'t load images, please refresh this page.'}";
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user