mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +00:00
Feature: set parameters for add_address as global
The parameter `window.addaddress` is now global and can be reached to all page. This ensure backward compatibility.
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
<script type="text/javascript">
|
||||
window.accompanyingCourseId = {{ accompanyingCourse.id|e('js') }};
|
||||
window.vueRootComponent = 'app';
|
||||
window.addaddress = {{ add_address|json_encode|raw }};
|
||||
</script>
|
||||
{{ encore_entry_script_tags('vue_accourse') }}
|
||||
{% endblock %}
|
||||
|
@@ -19,7 +19,6 @@
|
||||
<script type="text/javascript">
|
||||
window.household_members_editor_data = {{ data|json_encode|raw }};
|
||||
window.household_members_editor_expand_suggestions = {{ expandSuggestions }};
|
||||
window.addaddress = {{ add_address|json_encode|raw }};
|
||||
</script>
|
||||
{{ encore_entry_script_tags('vue_household_members_editor') }}
|
||||
{% endblock %}
|
||||
|
@@ -143,9 +143,6 @@
|
||||
{{ encore_entry_script_tags('page_suggest_names') }}
|
||||
{{ encore_entry_script_tags('page_create_person') }}
|
||||
{{ encore_entry_script_tags('mod_input_address') }}
|
||||
<script type="text/javascript">
|
||||
window.addaddress = {{ add_address|json_encode|raw }};
|
||||
</script>
|
||||
{% endblock js %}
|
||||
|
||||
{% block css %}
|
||||
|
Reference in New Issue
Block a user