Boom! container nodes work for both media and content, fixes:
U4-3540 When creating a Container type node - the list view shows all children of the item it's being created underneath U4-3541 media tree is not catering for container types
This commit is contained in:
@@ -61,12 +61,11 @@ namespace Umbraco.Web.Models.Mapping
|
||||
|
||||
private static void MapGenericCustomProperties(IMedia media, MediaItemDisplay display)
|
||||
{
|
||||
/*
|
||||
* Should this be added? if so we need some changes in the UI tho.
|
||||
|
||||
if (media.ContentType.IsContainer)
|
||||
{
|
||||
TabsAndPropertiesResolver.AddContainerView(display);
|
||||
}*/
|
||||
TabsAndPropertiesResolver.AddContainerView(display, "media");
|
||||
}
|
||||
|
||||
TabsAndPropertiesResolver.MapGenericProperties(media, display);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user