display error text in frontend

This commit is contained in:
Shawn Smith
2015-05-11 23:55:03 +09:00
parent b976bca91c
commit ae62dfaddb

View File

@@ -395,7 +395,7 @@
data: data,
dataType: "json"
}).fail(function(xhr, status, err){;
alertMessage("<strong>Oops!</strong> There was an error processing your request: " + err);
alertMessage("<strong>Oops!</strong> There was an error processing your request: " + xhr.responseText);
}).done(function(data, textStatus, jqXHR){
hideGopher();
populateResults(data);