fix for #5181, about entering invalid search entries.

This commit is contained in:
jaredevantabor 2017-02-03 16:52:48 -08:00
parent 48e75b3e19
commit bfe3103542

View File

@ -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
});