Ensures the tree expansion doesn't happen when there are no child nodes.
This commit is contained in:
@@ -11,7 +11,8 @@ angular.module("umbraco.directives")
|
||||
},
|
||||
|
||||
template: '<li><div ng-style="setTreePadding(node)">' +
|
||||
'<ins ng-class="{\'icon-caret-right\': !node.expanded, \'icon-caret-down\': node.expanded}" ng-click="load(node)"></ins>' +
|
||||
'<ins ng-hide="node.hasChildren" style="background:none;width:18px;"></ins>' +
|
||||
'<ins ng-show="node.hasChildren" ng-class="{\'icon-caret-right\': !node.expanded, \'icon-caret-down\': node.expanded}" ng-click="load(node)"></ins>' +
|
||||
'<i class="{{node | umbTreeIconClass:\'icon umb-tree-icon sprTree\'}}" style="{{node | umbTreeIconStyle}}"></i>' +
|
||||
'<a ng-click="select(this, node, $event)" ng-href="#{{node.view}}">{{node.name}}</a>' +
|
||||
'<i class="umb-options" ng-click="options(this, node, $event)"><i></i><i></i><i></i></i>' +
|
||||
|
||||
@@ -2595,7 +2595,7 @@ xcopy "$(ProjectDir)"..\packages\SqlServerCE.4.0.0.0\x86\*.* "$(TargetDir)x86\"
|
||||
<Import Project="$(SolutionDir)umbraco.presentation.targets" Condition="$(BuildingInsideVisualStudio) == true" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>xcopy "$(SolutionDir)"Umbraco.Web.UI.Client\build\belle\js\*.* "$(SolutionDir)"Umbraco.Web.UI\Umbraco\js /Y /F /E /D
|
||||
xcopy"$(SolutionDir)"Umbraco.Web.UI.Client\build\belle\assets\*.* "$(SolutionDir)"Umbraco.Web.UI\Umbraco\assets /Y /F /E /D
|
||||
xcopy "$(SolutionDir)"Umbraco.Web.UI.Client\build\belle\assets\*.* "$(SolutionDir)"Umbraco.Web.UI\Umbraco\assets /Y /F /E /D
|
||||
xcopy "$(SolutionDir)"Umbraco.Web.UI.Client\build\belle\lib\*.* "$(SolutionDir)"Umbraco.Web.UI\Umbraco\lib /Y /F /E /D
|
||||
xcopy "$(SolutionDir)"Umbraco.Web.UI.Client\build\belle\views\*.* "$(SolutionDir)"Umbraco.Web.UI\Umbraco\views /Y /F /E /D</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user