mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 15:08:03 -03: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:
parent
53b16c09e8
commit
4849808ee9
@ -143,14 +143,11 @@ export function LicenseController(ClearScope, $location, $rootScope, $compile, $
|
||||
$('#license_tabs li:eq(2) a').tab('show');
|
||||
}
|
||||
|
||||
setTimeout(function() {
|
||||
$('#license_license_json').attr('ng-required' , 'true' );
|
||||
$('#license_eula_agreement_chbox').attr('ng-required' , 'true' );
|
||||
$('#license_form_submit_btn').attr('ng-disabled' , "license_form.$invalid" );
|
||||
var e = angular.element(document.getElementById('license-modal-dialog'));
|
||||
$compile(e)($scope);
|
||||
// $('#license-modal-dialog').dialog('open');
|
||||
}, 300);
|
||||
$('#license_license_json').attr('ng-required' , 'true' );
|
||||
$('#license_eula_agreement_chbox').attr('ng-required' , 'true' );
|
||||
$('#license_form_submit_btn').attr('ng-disabled' , "license_form.$invalid" );
|
||||
var e = angular.element(document.getElementById('license-modal-dialog'));
|
||||
$compile(e)($scope);
|
||||
|
||||
if (IsAdmin()) {
|
||||
setTimeout(function() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user