diff --git a/awx/ui/static/js/controllers/License.js b/awx/ui/static/js/controllers/License.js index 3c4b933daa..e44475ebb9 100644 --- a/awx/ui/static/js/controllers/License.js +++ b/awx/ui/static/js/controllers/License.js @@ -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"];