sync tree
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user