Fix collapsible section widget being called before dependency was loaded

This commit is contained in:
Stephen Abello
2021-06-04 11:17:16 +02:00
committed by Eric
parent 2cf249f58a
commit df9872cfd8
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
$('#{{ oUIBlock.GetId() }}').collapsible_section({
bOpenedByDefault: {{ oUIBlock.IsOpenedByDefault()|var_export }}
{% if oUIBlock.IsSaveCollapsibleStateEnabled() %}, collapsibleStateStorageKey: '{{ oUIBlock.GetSessionCollapsibleStateStorageKey() }}'{% endif %}
});