From 523caf846c09bbea35d39916760d64970acc59b8 Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Fri, 21 Mar 2014 04:15:36 +0000 Subject: [PATCH] Tweaked start of inventory sync so that spinner appears continuously while the initial tree refresh and host reload runs. --- awx/ui/static/js/helpers/JobSubmission.js | 2 +- awx/ui/static/less/ansible-ui.less | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/awx/ui/static/js/helpers/JobSubmission.js b/awx/ui/static/js/helpers/JobSubmission.js index 67b12dbc31..289b0e6ad2 100644 --- a/awx/ui/static/js/helpers/JobSubmission.js +++ b/awx/ui/static/js/helpers/JobSubmission.js @@ -401,7 +401,7 @@ angular.module('JobSubmissionHelper', ['RestServices', 'Utilities', 'CredentialF scope.removeHostReloadComplete(); } scope.removeHostReloadComplete = scope.$on('HostReloadComplete', function () { - Wait('stop'); + //Wait('stop'); Alert('Update Started', 'Your request to start the inventory sync process was submitted. Monitor progress ' + 'by clicking the button.', 'alert-info'); if (scope.removeHostReloadComplete) { diff --git a/awx/ui/static/less/ansible-ui.less b/awx/ui/static/less/ansible-ui.less index 5f5e54a6a3..4cddf4c730 100644 --- a/awx/ui/static/less/ansible-ui.less +++ b/awx/ui/static/less/ansible-ui.less @@ -1377,7 +1377,10 @@ tr td button i { .modal { border: 1px solid @black; - z-index: 2050; +} + +#alert-modal, #alert-modal2 { + z-index: 2100; } .close {