mirror of
https://github.com/ansible/awx.git
synced 2026-01-27 00:21:30 -03:30
make wait stop happen after list refresh is called
This commit is contained in:
parent
f39c624b8e
commit
9c42ffa3f6
@ -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 });
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user