mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
make wait stop happen after list refresh is called
This commit is contained in:
@@ -56,10 +56,11 @@ export default
|
||||
Rest.setUrl(url);
|
||||
Rest.post({"disassociate": true, "id": labelId})
|
||||
.success(function () {
|
||||
Wait('stop');
|
||||
scope.search("job_template");
|
||||
Wait('stop');
|
||||
})
|
||||
.error(function (data, status) {
|
||||
Wait('stop');
|
||||
ProcessErrors(scope, data, status, null, { hdr: 'Error!',
|
||||
msg: 'Could not disacssociate label from JT. Call to ' + url + ' failed. DELETE returned status: ' + status });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user