mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
fix for #5181, about entering invalid search entries.
This commit is contained in:
parent
48e75b3e19
commit
bfe3103542
@ -264,11 +264,11 @@ export default ['$q', 'Rest', 'ProcessErrors', '$rootScope', 'Wait', 'DjangoSear
|
||||
|
||||
this.error(response.data, response.status);
|
||||
|
||||
return response;
|
||||
throw response;
|
||||
}.bind(this));
|
||||
},
|
||||
error(data, status) {
|
||||
ProcessErrors($rootScope, data, status, null, {
|
||||
ProcessErrors($rootScope, null, status, null, {
|
||||
hdr: 'Error!',
|
||||
msg: 'Call to ' + this.url + '. GET returned: ' + status
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user