mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 06:17:36 -02:30
Fixing blue 'flashMessage' box that flashes on license page
the license controller had a setTimeout that was pausing the logic of the license controller which was causing a blue rectangle to flash on the license page.
This commit is contained in:
@@ -143,14 +143,11 @@ export function LicenseController(ClearScope, $location, $rootScope, $compile, $
|
|||||||
$('#license_tabs li:eq(2) a').tab('show');
|
$('#license_tabs li:eq(2) a').tab('show');
|
||||||
}
|
}
|
||||||
|
|
||||||
setTimeout(function() {
|
$('#license_license_json').attr('ng-required' , 'true' );
|
||||||
$('#license_license_json').attr('ng-required' , 'true' );
|
$('#license_eula_agreement_chbox').attr('ng-required' , 'true' );
|
||||||
$('#license_eula_agreement_chbox').attr('ng-required' , 'true' );
|
$('#license_form_submit_btn').attr('ng-disabled' , "license_form.$invalid" );
|
||||||
$('#license_form_submit_btn').attr('ng-disabled' , "license_form.$invalid" );
|
var e = angular.element(document.getElementById('license-modal-dialog'));
|
||||||
var e = angular.element(document.getElementById('license-modal-dialog'));
|
$compile(e)($scope);
|
||||||
$compile(e)($scope);
|
|
||||||
// $('#license-modal-dialog').dialog('open');
|
|
||||||
}, 300);
|
|
||||||
|
|
||||||
if (IsAdmin()) {
|
if (IsAdmin()) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user