diff --git a/platform/commonUI/edit/src/creation/LocatorController.js b/platform/commonUI/edit/src/creation/LocatorController.js index fc0ab6396c..53bfc3feb1 100644 --- a/platform/commonUI/edit/src/creation/LocatorController.js +++ b/platform/commonUI/edit/src/creation/LocatorController.js @@ -51,9 +51,6 @@ define( (context && context.getRoot()) || $scope.rootObject; }, 0); } else if (!contextRoot && !$scope.rootObject) { - //If no context root is available, default to the root - // object - $scope.rootObject = undefined; // Update the displayed tree on a timeout to avoid // an infinite digest exception. objectService.getObjects(['ROOT'])