fixes: U4-2854 Re-adds actions on root tree nodes
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user