Navigation menu: Better fix for the previous regression

This commit is contained in:
Molkobain
2021-01-22 12:12:34 +01:00
parent 43fdcab528
commit 3b31a36473

View File

@@ -1,6 +1,6 @@
$('#{{ oUIBlock.GetId() }}').navigation_menu({
display_counts: {% if get_config_parameter('display_menus_count') %} true {% else %} false {% endif %},
org_id: {{ oUIBlock.GetOrgId()|json_encode }}
org_id: '{{ oUIBlock.GetOrgId() }}'
});
$('#{{ oUIBlock.GetId() }}').navigation_menu('refreshCounts', null);