File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
app/code/Magento/PageBuilder
Block/Adminhtml/Form/Element
Controller/Adminhtml/Form/Element Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ private function getConfig(): array
61
61
[
62
62
'form_namespace ' => $ formNamespace ,
63
63
'prefix ' => $ attribute ,
64
+ 'js_object_name ' => $ jsObjectName ,
64
65
]
65
66
),
66
67
'jsObjectName ' => $ jsObjectName ,
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public function execute()
54
54
$ this ->rule ->loadPost (['conditions ' => $ this ->serializer ->unserialize ($ conditionsEncoded )]);
55
55
$ formName = $ this ->getRequest ()->getParam ('form_namespace ' );
56
56
// Combine class recursively sets jsFormObject so we don't need to
57
- $ conditions ->setJsFormObject ($ formName );
57
+ $ conditions ->setJsFormObject ($ this -> getRequest ()-> getParam ( ' js_object_name ' ) );
58
58
// The Combine class doesn't need the data attribute on children but we do.
59
59
$ this ->configureConditionsFormName ($ conditions , $ formName );
60
60
$ result = $ conditions ->asHtmlRecursive ();
You can’t perform that action at this time.
0 commit comments