Implements: U4-2937 A tree item should be able to have a default action

This commit is contained in:
Shannon
2013-09-26 15:55:38 +10:00
parent c9fd168cbd
commit e1cf3bc597
14 changed files with 477 additions and 493 deletions

View File

@@ -47,6 +47,9 @@ namespace Umbraco.Web.Trees
{
var menu = new MenuItemCollection();
//set the default
menu.DefaultMenuAlias = ActionNew.Instance.Alias;
if (id == Constants.System.Root.ToInvariantString())
{
// root actions