Skip to content
Snippets Groups Projects
Commit a60f4c67 authored by Mike Decker's avatar Mike Decker Committed by Justin Toupin
Browse files

Issue #3334527: Drupal 9.5+ duplicate broken

parent e7ceb90a
No related branches found
No related tags found
1 merge request!117Issue #3334527: Drupal 9.5+ duplicate broken
...@@ -72,7 +72,7 @@ class DuplicateController extends ControllerBase { ...@@ -72,7 +72,7 @@ class DuplicateController extends ControllerBase {
'#layout_paragraphs_layout' => $this->layoutParagraphsLayout, '#layout_paragraphs_layout' => $this->layoutParagraphsLayout,
'#uuid' => $uuid, '#uuid' => $uuid,
]; ];
$response->addCommand(new AfterCommand('[data-uuid="' . $source_uuid . '"', $rendered_item)); $response->addCommand(new AfterCommand('[data-uuid="' . $source_uuid . '"]', $rendered_item));
$response->addCommand(new LayoutParagraphsEventCommand($this->layoutParagraphsLayout, $uuid, 'component:insert')); $response->addCommand(new LayoutParagraphsEventCommand($this->layoutParagraphsLayout, $uuid, 'component:insert'));
return $response; return $response;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment