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) => {
//success
if (data.success.length > 0) {
let obj = data.success["0"].assiduite_id;
let obj = data.success["0"].message.assiduite_id;
}
},
(data, status) => {
@ -910,7 +910,7 @@ function deleteAssiduite(assiduite_id) {
(data, status) => {
//success
if (data.success.length > 0) {
let obj = data.success["0"].assiduite_id;
let obj = data.success["0"].message.assiduite_id;
}
},
(data, status) => {

View File

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