Ok, getting pretty close to making those legacy tree dialogs work.

This commit is contained in:
Shannon
2013-09-04 18:10:57 +10:00
parent be9c3b8996
commit b105bd305b
6 changed files with 73 additions and 199 deletions

View File

@@ -43,7 +43,7 @@ namespace Umbraco.Web.Trees
var rootId = Constants.System.Root.ToString(CultureInfo.InvariantCulture);
//find all tree definitions that have the current application alias
var appTrees = ApplicationContext.Current.Services.ApplicationTreeService.GetApplicationTrees(application).Where(x => x.Initialize).ToArray();
var appTrees = ApplicationContext.Current.Services.ApplicationTreeService.GetApplicationTrees(application, true).ToArray();
if (appTrees.Count() == 1)
{
return GetRootForSingleAppTree(