mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
enable show_hide on export pages
This commit is contained in:
parent
fcac977d13
commit
989c4e90e5
@ -0,0 +1,5 @@
|
|||||||
|
import { ShowHide } from 'ShowHide';
|
||||||
|
|
||||||
|
console.log('coucou');
|
||||||
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
|||||||
{% block title %}{{ export.title|trans }}{% endblock %}
|
{% block title %}{{ export.title|trans }}{% endblock %}
|
||||||
|
|
||||||
{% block js %}
|
{% block js %}
|
||||||
|
{{ encore_entry_script_tags('page_export') }}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.addEventListener("DOMContentLoaded", chill.listenerDisplayCheckbox);
|
window.addEventListener("DOMContentLoaded", chill.listenerDisplayCheckbox);
|
||||||
</script>
|
</script>
|
||||||
|
@ -54,6 +54,7 @@ module.exports = function(encore, entries)
|
|||||||
encore.addEntry('page_location', __dirname + '/Resources/public/page/location/index.js');
|
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_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_homepage_widget', __dirname + '/Resources/public/page/homepage_widget/index.js');
|
||||||
|
encore.addEntry('page_export', __dirname + '/Resources/public/page/export/index.js');
|
||||||
|
|
||||||
buildCKEditor(encore);
|
buildCKEditor(encore);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user