Skip to content

Commit

Permalink
[Bug]: Fix root elements not being assignable to pimcore_relation (#727
Browse files Browse the repository at this point in the history
…) (#760)

This is a regressiom of this fix: pimcore/pimcore@3352e2e
See the following comment for details: pimcore/pimcore#17649 (comment)

Co-authored-by: Brainshaker95 <[email protected]>
  • Loading branch information
robertSt7 and Brainshaker95 authored Nov 21, 2024
1 parent 55af79d commit cb365e3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion public/js/pimcore/asset/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@

rootNodeConfig.text = rootNodeConfigText;
rootNodeConfig.allowDrag = true;
rootNodeConfig.id = "" + rootNodeConfig.id;
rootNodeConfig.iconCls = rootNodeConfigIconCls;
rootNodeConfig.cls = "pimcore_tree_node_root";
rootNodeConfig.expanded = true;
Expand Down
1 change: 0 additions & 1 deletion public/js/pimcore/document/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ pimcore.document.tree = Class.create({
}

rootNodeConfig.text = rootNodeConfigText;
rootNodeConfig.id = "" + rootNodeConfig.id;
rootNodeConfig.allowDrag = true;
rootNodeConfig.iconCls = rootNodeConfigIconCls;
rootNodeConfig.cls = "pimcore_tree_node_root";
Expand Down
1 change: 0 additions & 1 deletion public/js/pimcore/object/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ pimcore.registerNS("pimcore.object.tree");

rootNodeConfig.text = rootNodeConfigText;
rootNodeConfig.allowDrag = true;
rootNodeConfig.id = "" + rootNodeConfig.id;
rootNodeConfig.iconCls = rootNodeConfigIconCls;
rootNodeConfig.cls = "pimcore_tree_node_root";
rootNodeConfig.expanded = true;
Expand Down

0 comments on commit cb365e3

Please sign in to comment.