fix indefinite wait on no license user login

This commit is contained in:
John Mitchell 2015-06-12 13:54:26 -04:00
parent d076be8b8b
commit 723ec44846

View File

@ -16,7 +16,7 @@
export function LicenseController(ClearScope, $location, $rootScope, $compile, $filter, GenerateForm, Rest, Alert,
GetBasePath, ProcessErrors, FormatDate, Prompt, Empty, LicenseForm, IsAdmin, CreateDialog, CheckLicense,
TextareaResize, $scope) {
TextareaResize, $scope, Wait) {
ClearScope();
@ -178,6 +178,7 @@ export function LicenseController(ClearScope, $location, $rootScope, $compile, $
});
}
});
Wait("stop");
});
CheckLicense.GetLicense('LicenseDataReady', $scope);
@ -185,4 +186,4 @@ export function LicenseController(ClearScope, $location, $rootScope, $compile, $
LicenseController.$inject = ['ClearScope', '$location', '$rootScope', '$compile', '$filter', 'GenerateForm', 'Rest', 'Alert',
'GetBasePath', 'ProcessErrors', 'FormatDate', 'Prompt', 'Empty', 'LicenseForm', 'IsAdmin', 'CreateDialog',
'CheckLicense', 'TextareaResize', '$scope'];
'CheckLicense', 'TextareaResize', '$scope', "Wait"];