fixes: U4-2854 Re-adds actions on root tree nodes

This commit is contained in:
perploug
2013-10-01 11:40:56 +02:00
parent 15d25ebb3d
commit 229b770447
2 changed files with 15 additions and 6 deletions

View File

@@ -99,8 +99,16 @@ Umbraco.Sys.registerNamespace("Umbraco.Application");
//return this._mainTree;
},
appActions: function() {
throw "Not implemented!";
var injector = getRootInjector();
var navService = injector.get("navigationService");
var _actions = {};
_actions.openDashboard = function(section){
navService.changeSection(section);
};
return _actions;
//throw "Not implemented!";
////if the main window has no actions, we'll create some
//if (this._appActions == null) {