mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°3939 - Keep current tab when editing an object (regression from 1e99ad436)
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
{# Collapsible handler #}
|
||||
{% block iboCollapsibleHandlers %}
|
||||
{# @copyright Copyright (C) 2010-2021 Combodo SARL #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
{% block iboWidgetInstantiation %}
|
||||
$('#{{ oUIBlock.GetId() }}').panel({
|
||||
is_header_visible_on_scroll: {{ oUIBlock.IsHeaderVisibleOnScroll|var_export }}
|
||||
});
|
||||
{% endblock %}
|
||||
|
||||
{% block iboMiscHandlers %}
|
||||
{% if oUIBlock.isCollapsible() %}
|
||||
$('#{{ oUIBlock.GetId() }}').find('[data-role="ibo-panel--collapsible-toggler"]').on('click', function(){
|
||||
$('#{{ oUIBlock.GetId() }}').toggleClass('ibo-is-opened');
|
||||
});
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block iboWidgetInstantiation %}
|
||||
$('#{{ oUIBlock.GetId() }}').panel({
|
||||
is_header_visible_on_scroll: {{ oUIBlock.IsHeaderVisibleOnScroll|var_export }}
|
||||
});
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user