diff --git a/public/js/pimcore/treenodelocator.js b/public/js/pimcore/treenodelocator.js index 6bebd583f..5ab3822b0 100644 --- a/public/js/pimcore/treenodelocator.js +++ b/public/js/pimcore/treenodelocator.js @@ -154,7 +154,7 @@ pimcore.treenodelocator = function() var locateConfig = globalState.locateConfigs[globalState.currentTreeIndex]; var tree = locateConfig.tree; var rootNode = tree.tree.getRootNode(); - var rootNodeId = rootNode.getId(); + var rootNodeId = rootNode.getId().toString(); // Tree root may be shifted to a subnode and the item to be shown // is out of tree scope - don't continue if this is the case: