Updates LocalLinks to be UDI, this will support both INT and UDI as LocalLink but when a new LocalLink is picked, it will use the UDI so eventually the INT will be gone

This commit is contained in:
Shannon
2017-03-14 15:31:30 +11:00
parent 2dd31f0f05
commit 9a57f463ce
19 changed files with 395 additions and 48 deletions

View File

@@ -84,11 +84,10 @@ namespace Umbraco.Web.Trees
var isContainer = e.IsContainer(); // && (queryStrings.Get("isDialog") != "true");
var node = CreateTreeNode(
e.Id.ToInvariantString(),
entity,
Constants.ObjectTypes.DocumentGuid,
parentId,
queryStrings,
e.Name,
entity.ContentTypeIcon,
queryStrings,
entity.HasChildren && (isContainer == false));
node.AdditionalData.Add("contentType", entity.ContentTypeAlias);