Merge remote-tracking branch 'origin/dev-v8' into temp-U4-11127

This commit is contained in:
Shannon
2018-04-09 13:25:02 +10:00
2 changed files with 10 additions and 2 deletions
@@ -1,7 +1,7 @@
(function () {
"use strict";
function LanguagesEditController($scope, $timeout, $location, $routeParams, notificationsService, localizationService, languageResource, contentEditingHelper, formHelper) {
function LanguagesEditController($scope, $timeout, $location, $routeParams, navigationService, notificationsService, localizationService, languageResource, contentEditingHelper, formHelper) {
var vm = this;
@@ -65,6 +65,10 @@
makeBreadcrumbs();
});
}
$timeout(function () {
navigationService.syncTree({ tree: "languages", path: "-1" });
});
}
function save() {
@@ -1,7 +1,7 @@
(function () {
"use strict";
function LanguagesOverviewController($location, notificationsService, localizationService, languageResource) {
function LanguagesOverviewController($location, $timeout, navigationService, notificationsService, localizationService, languageResource) {
var vm = this;
@@ -36,6 +36,10 @@
vm.languages = languages;
vm.loading = false;
});
$timeout(function () {
navigationService.syncTree({ tree: "languages", path: "-1" });
});
}
function addLanguage() {