Rolls back listview items in dialog trees

This commit is contained in:
perploug
2014-01-28 15:49:04 +01:00
parent 06cbdc37b4
commit 24062c0061
3 changed files with 4 additions and 5 deletions

View File

@@ -177,8 +177,8 @@ namespace Umbraco.Web.Trees
//before we get the children we need to see if this is a container node
var current = Services.EntityService.Get(int.Parse(id), UmbracoObjectType);
if (queryStrings.Get("isDialog") != "true" && current != null && current.IsContainer())
//test if the parent is a listview / container
if (current != null && current.IsContainer())
{
//no children!
return new TreeNodeCollection();