Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 1fe7e79948 - Show all commits

View File

@ -885,7 +885,7 @@ function createAssiduite(etat, etudid) {
(data, status) => { (data, status) => {
//success //success
if (data.success.length > 0) { if (data.success.length > 0) {
let obj = data.success["0"].assiduite_id; let obj = data.success["0"].message.assiduite_id;
} }
}, },
(data, status) => { (data, status) => {
@ -910,7 +910,7 @@ function deleteAssiduite(assiduite_id) {
(data, status) => { (data, status) => {
//success //success
if (data.success.length > 0) { if (data.success.length > 0) {
let obj = data.success["0"].assiduite_id; let obj = data.success["0"].message.assiduite_id;
} }
}, },
(data, status) => { (data, status) => {

View File

@ -164,7 +164,7 @@
dateType: 'json', dateType: 'json',
contentType: false, contentType: false,
processData: false, processData: false,
success: () => { }, success: () => { console.log("done") },
} }
) )
) )
@ -192,8 +192,8 @@
errorAlert(); errorAlert();
} }
if (Object.keys(data.success).length > 0) { if (Object.keys(data.success).length > 0) {
couverture = data.success[0].couverture couverture = data.success[0].message.couverture
justif_id = data.success[0].justif_id; justif_id = data.success[0].message.justif_id;
importFiles(justif_id); importFiles(justif_id);
return; return;
} }