1
0
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:
kialam 2018-07-19 14:29:30 -04:00
parent c893e467c5
commit eabdda92b3

View File

@ -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) {