diff --git a/ModelCatalogueCorePlugin/grails-app/assets/javascripts/modelcatalogue/core/ui/bs/catalogueElementTreeviewItem.coffee b/ModelCatalogueCorePlugin/grails-app/assets/javascripts/modelcatalogue/core/ui/bs/catalogueElementTreeviewItem.coffee
index b9f76f459e..a3bc33fbed 100644
--- a/ModelCatalogueCorePlugin/grails-app/assets/javascripts/modelcatalogue/core/ui/bs/catalogueElementTreeviewItem.coffee
+++ b/ModelCatalogueCorePlugin/grails-app/assets/javascripts/modelcatalogue/core/ui/bs/catalogueElementTreeviewItem.coffee
@@ -9,7 +9,7 @@ cetiModule.run [ '$templateCache', ($templateCache) ->
{{element.$$numberOfChildren}}
No Data
-
+
diff --git a/ModelCatalogueCorePlugin/grails-app/assets/javascripts/modelcatalogue/core/ui/catalogueElementTreeviewItem.coffee b/ModelCatalogueCorePlugin/grails-app/assets/javascripts/modelcatalogue/core/ui/catalogueElementTreeviewItem.coffee
index acbc92147e..ba7a2492a2 100644
--- a/ModelCatalogueCorePlugin/grails-app/assets/javascripts/modelcatalogue/core/ui/catalogueElementTreeviewItem.coffee
+++ b/ModelCatalogueCorePlugin/grails-app/assets/javascripts/modelcatalogue/core/ui/catalogueElementTreeviewItem.coffee
@@ -146,7 +146,6 @@ angular.module('mc.core.ui.catalogueElementTreeviewItem', ['mc.util.names', 'mc.
unless $scope.element.$$children.length == 0 and $scope.element.$$numberOfChildren > 0
$scope.element.$$collapsed = false
- $scope.select($scope.element)
return
$scope.element.$$loadChildren()
@@ -160,6 +159,7 @@ angular.module('mc.core.ui.catalogueElementTreeviewItem', ['mc.util.names', 'mc.
# event broadcasters and listeners
$scope.select = (element) ->
+ $scope.collapseOrExpand()
$rootScope.$broadcast 'treeviewElementSelected', element, $scope.rootId
$scope.$on 'treeviewElementSelected', (event, element, id) ->