diff --git a/datamodels/2.x/itop-portal-base/portal/src/views/bricks/object/mode_create.html.twig b/datamodels/2.x/itop-portal-base/portal/src/views/bricks/object/mode_create.html.twig index 205d406fee..350a8dba53 100644 --- a/datamodels/2.x/itop-portal-base/portal/src/views/bricks/object/mode_create.html.twig +++ b/datamodels/2.x/itop-portal-base/portal/src/views/bricks/object/mode_create.html.twig @@ -2,6 +2,7 @@ {# Object brick create layout #} {% set sFormId = (form.id is defined and form.id is not null) ? form.id : 'object_form' %} +{% set sFormIdSanitized = sFormId|replace({'-': ''}) %} {% set tIsModal = (tIsModal is defined and tIsModal == true) ? true : false %}
@@ -43,23 +44,65 @@ \ No newline at end of file diff --git a/datamodels/2.x/itop-portal-base/portal/src/views/layout.html.twig b/datamodels/2.x/itop-portal-base/portal/src/views/layout.html.twig index b5da9b5dc0..4f03d92681 100644 --- a/datamodels/2.x/itop-portal-base/portal/src/views/layout.html.twig +++ b/datamodels/2.x/itop-portal-base/portal/src/views/layout.html.twig @@ -58,6 +58,8 @@ + {# Visible.js to check if an element is visible on screen #} + {# Moment.js #} {# Datatables #} @@ -209,7 +211,7 @@