mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 17:51:06 -03:30
Show "working" message before view refresh
This commit is contained in:
@@ -180,12 +180,14 @@ function ListTemplatesController(
|
||||
};
|
||||
|
||||
function refreshTemplates() {
|
||||
Wait('start');
|
||||
let path = GetBasePath('unified_job_templates');
|
||||
qs.search(path, $state.params.template_search)
|
||||
.then(function(searchResponse) {
|
||||
vm.dataset = searchResponse.data;
|
||||
vm.templates = vm.dataset.results;
|
||||
});
|
||||
})
|
||||
.finally(() => Wait('stop'));
|
||||
}
|
||||
|
||||
function createErrorHandler(path, action) {
|
||||
|
||||
Reference in New Issue
Block a user