U4-11341 Content node tree collapse on random nodes level 3 or lower after upgrade to 7.10.4

This commit is contained in:
Sebastiaan Janssen
2018-06-19 16:08:11 +02:00
parent 6cbc3367b1
commit 4e6c4d6f7f

View File

@@ -156,16 +156,6 @@ function umbTreeDirective($compile, $log, $q, $rootScope, treeService, notificat
startNodes.push(userData.startMediaIds[j]);
}
_.each(startNodes, function (i) {
var found = _.find(args.path, function (p) {
return String(p) === String(i);
});
if (found) {
args.path = args.path.splice(_.indexOf(args.path, found));
}
});
loadPath(args.path, args.forceReload, args.activate);
});