TreeRenderer: Use the correct action urls for imported nodes

refs #209
This commit is contained in:
Johannes Meyer 2019-02-28 08:19:37 +01:00
parent a941052efa
commit 2a82b326fe

View file

@ -147,7 +147,9 @@ class TreeRenderer extends Renderer
[
'id' => $htmlId,
'class' => ['bp', 'movable', $node->getObjectClassName()],
'data-node-name' => $node->getName()
'data-node-name' => $node instanceof ImportedNode
? $node->getNodeName()
: $node->getName()
]
);
$attributes = $li->getAttributes();