mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°8579 - remove "spaceless" in twig files
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
{% apply spaceless %}
|
||||
oWidget{{ oUIBlock.oUILinksWidget.GetInputId() }} = new LinksWidget(
|
||||
'{{ oUIBlock.oUILinksWidget.GetLinkedSetId() }}',
|
||||
'{{ oUIBlock.oUILinksWidget.GetClass() }}',
|
||||
@@ -14,5 +13,4 @@ oWidget{{ oUIBlock.oUILinksWidget.GetInputId() }} = new LinksWidget(
|
||||
{{ oUIBlock.iMaxAddedId }},
|
||||
{{ oUIBlock.aRemoved | json_encode | raw }}
|
||||
);
|
||||
oWidget{{ oUIBlock.oUILinksWidget.GetInputId() }}.Init();
|
||||
{% endapply %}
|
||||
oWidget{{ oUIBlock.oUILinksWidget.GetInputId() }}.Init();
|
||||
@@ -1,5 +1,3 @@
|
||||
{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
{% apply spaceless %}
|
||||
oWidget{{ oUIBlock.oUILinksWidget.GetInputId() }}.RegisterChange();
|
||||
{% endapply %}
|
||||
oWidget{{ oUIBlock.oUILinksWidget.GetInputId() }}.RegisterChange();
|
||||
@@ -1,7 +1,5 @@
|
||||
{# @copyright Copyright (C) 2010-2024 Combodo SAS #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
{% apply spaceless %}
|
||||
|
||||
$('#dlg_{{ oUIBlock.oUILinksWidget.GetLinkedSetId() }}').dialog({
|
||||
width: $(window).width()*0.8,
|
||||
height: $(window).height()*0.8,
|
||||
@@ -30,6 +28,4 @@ $('#dlg_{{ oUIBlock.oUILinksWidget.GetLinkedSetId() }}').dialog({
|
||||
});
|
||||
|
||||
$('#SearchFormToAdd_{{ oUIBlock.oUILinksWidget.GetLinkedSetId() }} form').on('submit.uilinksWizard', oWidget{{ oUIBlock.oUILinksWidget.GetInputId() }}.SearchObjectsToAdd);
|
||||
$('#SearchFormToAdd_{{ oUIBlock.oUILinksWidget.GetLinkedSetId() }}').on('resize', oWidget{{ oUIBlock.oUILinksWidget.GetInputId() }}.UpdateSizes);
|
||||
|
||||
{% endapply %}
|
||||
$('#SearchFormToAdd_{{ oUIBlock.oUILinksWidget.GetLinkedSetId() }}').on('resize', oWidget{{ oUIBlock.oUILinksWidget.GetInputId() }}.UpdateSizes);
|
||||
Reference in New Issue
Block a user