mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 16:48:42 +02:00
Navigation menu: Remove unnecessary condition
This commit is contained in:
@@ -27,7 +27,7 @@ $(function()
|
||||
active_menu_group: null,
|
||||
display_counts: false,
|
||||
filter_keyup_throttle: 200, // In milliseconds
|
||||
org_id:''
|
||||
org_id: ''
|
||||
},
|
||||
css_classes:
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$('#{{ oUIBlock.GetId() }}').navigation_menu({
|
||||
display_counts: {% if get_config_parameter('display_menus_count') %} true {% else %} false {% endif %}
|
||||
{%if oUIBlock.GetOrgId()%}, org_id: {{ oUIBlock.GetOrgId()}} {% endif %}
|
||||
display_counts: {% if get_config_parameter('display_menus_count') %} true {% else %} false {% endif %},
|
||||
org_id: {{ oUIBlock.GetOrgId()}}
|
||||
});
|
||||
|
||||
$('#{{ oUIBlock.GetId() }}').navigation_menu('refreshCounts', null);
|
||||
|
||||
Reference in New Issue
Block a user