enable show_hide on export pages

This commit is contained in:
Mathieu Jaumotte 2022-07-05 16:39:48 +02:00
parent fcac977d13
commit 989c4e90e5
3 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import { ShowHide } from 'ShowHide';
console.log('coucou');

View File

@ -21,6 +21,7 @@
{% block title %}{{ export.title|trans }}{% endblock %}
{% block js %}
{{ encore_entry_script_tags('page_export') }}
<script type="text/javascript">
window.addEventListener("DOMContentLoaded", chill.listenerDisplayCheckbox);
</script>

View File

@ -54,6 +54,7 @@ module.exports = function(encore, entries)
encore.addEntry('page_location', __dirname + '/Resources/public/page/location/index.js');
encore.addEntry('page_workflow_show', __dirname + '/Resources/public/page/workflow-show/index.js');
encore.addEntry('page_homepage_widget', __dirname + '/Resources/public/page/homepage_widget/index.js');
encore.addEntry('page_export', __dirname + '/Resources/public/page/export/index.js');
buildCKEditor(encore);