mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
Show "working" message before view refresh
This commit is contained in:
parent
c893e467c5
commit
eabdda92b3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user