From 82e0277e5af3b9c91f61df386396f5b290fa9f0f Mon Sep 17 00:00:00 2001 From: Andrey Erdikov Date: Thu, 29 Apr 2021 16:39:31 +0700 Subject: [PATCH] =?UTF-8?q?[C0-3840]=20=D0=9F=D0=BE=D1=84=D0=B8=D0=BA?= =?UTF-8?q?=D1=81=D0=B8=D0=BB=20=D0=BF=D1=80=D0=BE=D0=B1=D0=BB=D0=B5=D0=BC?= =?UTF-8?q?=D1=83=20=D1=81=20=D1=81=D0=BE=D1=85=D1=80=D0=B0=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=D0=BC=20=D0=B2=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=BD=D1=8B=D1=85=20=D1=8D=D0=BB=D0=B5=D0=BC=D0=B5=D0=BD=D1=82?= =?UTF-8?q?=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Resources/public/dynamic-page-components.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Resources/public/dynamic-page-components.js b/src/Resources/public/dynamic-page-components.js index 9ffde5f..1c0aa2b 100644 --- a/src/Resources/public/dynamic-page-components.js +++ b/src/Resources/public/dynamic-page-components.js @@ -29,6 +29,8 @@ $('body').on('change', '.page-component-name-select', function (event) { html = html.replaceAll('id="page_component_', 'id="' + idPrefix + '_'); html = html.replaceAll('name="page_component', 'name="' + namePrefix); html = html.replaceAll('id="page_component_', 'id="' + idPrefix + '_'); + html = html.replaceAll('name="page_component', 'name="' + namePrefix); + html = html.replaceAll('id="page_component_', 'id="' + idPrefix + '_'); $('.data-loader').remove(); $parentNode.append(html); $select.prop('disabled', false);