forked from mirrors/easyappointments
Added more information into the ajax exception messages. #370
This commit is contained in:
parent
b4d6767801
commit
049884d409
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ window.GeneralFunctions = window.GeneralFunctions || {};
|
|||
exports.ajaxFailureHandler = function(jqxhr, textStatus, errorThrown) {
|
||||
var exceptions = [
|
||||
{
|
||||
message: 'AJAX Error: ' + errorThrown
|
||||
message: 'AJAX Error: ' + errorThrown + $(jqxhr.responseText).text()
|
||||
}
|
||||
];
|
||||
GeneralFunctions.displayMessageBox(GeneralFunctions.EXCEPTIONS_TITLE, GeneralFunctions.EXCEPTIONS_MESSAGE);
|
||||
|
|
Loading…
Reference in a new issue