sync tree

This commit is contained in:
Mads Rasmussen
2017-06-21 15:55:57 +02:00
parent f27b456eb4
commit 7825040e4d
2 changed files with 22 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
(function () {
"use strict";
function UsersOverviewController($scope, $location) {
function UsersOverviewController($scope, $location, $timeout, navigationService) {
var vm = this;
var usersUri = $location.search().subview;
@@ -25,6 +25,10 @@
function init() {
$timeout(function () {
navigationService.syncTree({ tree: "users", path: "-1" });
});
}
init();

View File

@@ -1,22 +1,24 @@
<div ng-controller="Umbraco.Editors.Users.OverviewController as vm" class="clearfix">
<umb-editor-view footer="false">
<umb-editor-view footer="false">
<umb-editor-header name="vm.page.name"
name-locked="true"
hide-icon="true"
hide-description="true"
navigation="vm.page.navigation"
hide-alias="true">
</umb-editor-header>
<umb-editor-header
name="vm.page.name"
name-locked="true"
hide-icon="true"
hide-description="true"
navigation="vm.page.navigation"
hide-alias="true">
</umb-editor-header>
<umb-editor-container>
<umb-editor-container>
<umb-editor-sub-views
sub-views="vm.page.navigation">
</umb-editor-sub-views>
<umb-editor-sub-views sub-views="vm.page.navigation">
</umb-editor-sub-views>
</umb-editor-container>
</umb-editor-container>
</umb-editor-view>
</umb-editor-view>
</div>
</div>