Skip to content
Snippets Groups Projects
Commit 749e9f4a authored by Justin Toupin's avatar Justin Toupin
Browse files

Merge branch '2.0.x' into behavior_support

parents 74a30738 685d5b91
No related branches found
No related tags found
No related merge requests found
......@@ -477,10 +477,7 @@ class LayoutParagraphsBuilder extends RenderElement implements ContainerFactoryP
'#attributes' => [
'class' => array_merge(['lpb-btn', 'use-ajax'], $classes),
'data-dialog-type' => 'dialog',
'data-dialog-options' => Json::encode([
'modal' => TRUE,
'target' => $this->dialogId($this->layoutParagraphsLayout),
]),
'data-dialog-options' => Json::encode($this->dialogSettings($this->layoutParagraphsLayout)),
],
'#url' => Url::fromRoute('layout_paragraphs.builder.choose_component', $route_params, ['query' => $query_params]),
];
......
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