Compare commits
1 Commits
netcore/dev
...
pr/2507
| Author | SHA1 | Date | |
|---|---|---|---|
| b0230a1586 |
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
(function () {
|
(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function javascriptLibraryHelperService($q, $http, umbRequestHelper) {
|
function javascriptLibraryService($q, $http, umbRequestHelper) {
|
||||||
|
|
||||||
var existingLocales = [];
|
var existingLocales = [];
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
angular.module('umbraco.services').factory('javascriptLibraryHelperService', javascriptLibraryHelperService);
|
angular.module('umbraco.services').factory('javascriptLibraryService', javascriptLibraryService);
|
||||||
|
|
||||||
|
|
||||||
})();
|
})();
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
angular.module('umbraco.services')
|
angular.module('umbraco.services')
|
||||||
.factory('userService', function ($rootScope, eventsService, $q, $location, $log, securityRetryQueue, authResource, assetsService, dialogService, $timeout, angularHelper, $http, javascriptLibraryHelperService) {
|
.factory('userService', function ($rootScope, eventsService, $q, $location, $log, securityRetryQueue, authResource, assetsService, dialogService, $timeout, angularHelper, $http, javascriptLibraryService) {
|
||||||
|
|
||||||
var currentUser = null;
|
var currentUser = null;
|
||||||
var lastUserId = null;
|
var lastUserId = null;
|
||||||
@@ -304,7 +304,7 @@ angular.module('umbraco.services')
|
|||||||
|
|
||||||
var promises = {
|
var promises = {
|
||||||
currentUser: this.getCurrentUser(),
|
currentUser: this.getCurrentUser(),
|
||||||
supportedLocales: javascriptLibraryHelperService.getSupportedLocalesForMoment()
|
supportedLocales: javascriptLibraryService.getSupportedLocalesForMoment()
|
||||||
}
|
}
|
||||||
|
|
||||||
$q.all(promises).then((values) => {
|
$q.all(promises).then((values) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user