Commit 1a788ab7882687ac3ecf19eec48a8be0c3c389c6
1 parent
a61771ec
Exists in
master
and in
110 other branches
Do not display ##anode## on amda tree
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
php/classes/AmdaAction.php
@@ -313,7 +313,7 @@ class AmdaAction | @@ -313,7 +313,7 @@ class AmdaAction | ||
313 | $objectMgr = new AliasMgr(); | 313 | $objectMgr = new AliasMgr(); |
314 | $alias = $objectMgr->getAlias($id); | 314 | $alias = $objectMgr->getAlias($id); |
315 | 315 | ||
316 | - $childrenToReturn[] = array('text' => $name,'alias' => $alias, | 316 | + $childrenToReturn[] = array('text' => str_replace('##anode##', '', $name),'alias' => $alias, |
317 | 'id' => $id,'nodeType' => $nodeType, 'info' => $info, "component_info" => $component_info, | 317 | 'id' => $id,'nodeType' => $nodeType, 'info' => $info, "component_info" => $component_info, |
318 | 'globalStart' => $globalStart, 'globalStop' => $globalStop, 'timeRestriction' => $timeRestriction, | 318 | 'globalStart' => $globalStart, 'globalStop' => $globalStop, 'timeRestriction' => $timeRestriction, |
319 | 'leaf' => $isLeaf, 'isParameter' => $isParameter, 'isScatter' => $isScatter, | 319 | 'leaf' => $isLeaf, 'isParameter' => $isParameter, 'isScatter' => $isScatter, |