Fix PartialView Tree Controller to display a folder icon as opposed to an article icon for nested folders - looks odd/broken to me otherwise

This commit is contained in:
Warren Buckley
2018-10-10 16:27:13 +01:00
parent c69590fd21
commit 4da6788cb8

View File

@@ -29,7 +29,7 @@ namespace Umbraco.Web.Trees
{
//TODO: This isn't the best way to ensure a noop process for clicking a node but it works for now.
treeNode.AdditionalData["jsClickCallback"] = "javascript:void(0);";
treeNode.Icon = "icon-article";
treeNode.Icon = "icon-folder";
}
}
}