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