' +
'
' +
'
' +
'
' +
@@ -139,6 +139,10 @@ angular.module("umbraco.directives")
scope.loadChildren(null, scope.node, true);
}else if( !node.metaData.treeAlias && activePath.indexOf(node.id) >= 0){
scope.loadChildren(null, scope.node, true);
+
+ scope.path = activePath.filter( function(element) {
+ return listToDelete.indexOf(obj.id) === -1;
+ });
}
}
};
@@ -146,6 +150,7 @@ angular.module("umbraco.directives")
//if the current path contains the node id, we will auto-expand the tree item children
scope.expandActivePath(scope.node, scope.activetree, scope.path);
+ scope.node.stateCssClass = scope.node.cssClasses.join(" ");
var template = '
';
var newElement = angular.element(template);
diff --git a/src/Umbraco.Web.UI.Client/src/less/tree.less b/src/Umbraco.Web.UI.Client/src/less/tree.less
index 78aca06998..b162bb34bb 100644
--- a/src/Umbraco.Web.UI.Client/src/less/tree.less
+++ b/src/Umbraco.Web.UI.Client/src/less/tree.less
@@ -208,6 +208,20 @@ li.root > div > a.umb-options {
float: left
}
+
+// Tree item states
+// -------------------------
+div.not-published > i.icon,div.not-published > a{
+ color: @grayLight;
+}
+div.protected:before{
+ content:"\e256";
+ font-family: 'icomoon';
+ color: red;
+ position: absolute;
+}
+
+
// Tree context menu
// -------------------------
.umb-actions {
diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
index 7591222b9d..17315299ba 100644
--- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
+++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
@@ -623,7 +623,6 @@
Designer
-
ClientDependency.config
Designer
@@ -635,7 +634,6 @@
BaseRestExtensions.config
-
log4net.config