This commit is contained in:
2020-06-13 00:10:10 +00:00
parent 7b452670f0
commit 29effecb75
3 changed files with 127 additions and 119 deletions

View File

@@ -22,6 +22,7 @@ app.api = (function () {
update,
uploadFile,
putAction,
postAction,
createLicense,
getLicenseRequests,
generateFromRequest,
@@ -73,7 +74,7 @@ app.api = (function () {
error: function (jqXHR, textStatus, errorThrown) {
callback({
error: 1,
msg: textStatus + "\n" + errorThrown,
msg: textStatus + "\n" + jqXHR.responseText + "\n" + errorThrown,
error_detail: {}
});
}
@@ -96,7 +97,7 @@ app.api = (function () {
error: function (jqXHR, textStatus, errorThrown) {
callback({
error: 1,
msg: textStatus + "\n" + errorThrown,
msg: textStatus + "\n" + jqXHR.responseText + "\n" + errorThrown,
error_detail: {}
});
}
@@ -135,7 +136,7 @@ app.api = (function () {
error: function (jqXHR, textStatus, errorThrown) {
callback({
error: 1,
msg: textStatus + "\n" + errorThrown,
msg: textStatus + "\n" + jqXHR.responseText + "\n" + errorThrown,
error_detail: {}
});
}
@@ -156,7 +157,7 @@ app.api = (function () {
error: function (jqXHR, textStatus, errorThrown) {
callback({
error: 1,
msg: textStatus + "\n" + errorThrown,
msg: textStatus + "\n" + jqXHR.responseText + "\n" + errorThrown,
error_detail: {}
});
}
@@ -210,7 +211,7 @@ app.api = (function () {
error: function (jqXHR, textStatus, errorThrown) {
callback({
error: 1,
msg: textStatus + "\n" + errorThrown,
msg: textStatus + "\n" + jqXHR.responseText + "\n" + errorThrown,
error_detail: {}
});
}
@@ -237,7 +238,7 @@ app.api = (function () {
error: function (jqXHR, textStatus, errorThrown) {
callback({
error: 1,
msg: textStatus + "\n" + errorThrown,
msg: textStatus + "\n" + jqXHR.responseText + "\n" + errorThrown,
error_detail: {}
});
}