From 723ec44846215f649970c7b3c7b109bf21eaceaf Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Fri, 12 Jun 2015 13:54:26 -0400 Subject: [PATCH] fix indefinite wait on no license user login --- awx/ui/static/js/controllers/License.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"];