🚚 collapsibleSection JQuery widget renamed to collapsible_section

to match other widget naming convention
This commit is contained in:
Pierre Goiffon
2021-04-07 17:14:44 +02:00
parent 5b3ab2965f
commit 58d1a1d311
2 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@
$(function () {
// the widget definition, where 'itop' is the namespace,
// 'breadcrumbs' the widget name
$.widget('itop.collapsibleSection',
$.widget('itop.collapsible_section',
{
// default options
options:

View File

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