Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
lwtnb-wrk authored Aug 28, 2023
2 parents 937601a + 4e5cfd1 commit e729eb4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/patch/formApplyPatch.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,26 @@
};
checkValidations();
break;
case 'patchValidationRet':
//console.log("patchValidationRet");
const file = message.file.toLowerCase();
//console.log("file: "+file);
var patchs = tableAPI.data();
for (var i = 0; i < patchs.length; i++) {
var patchPath = patchs[i][3].replaceAll('\\\\', '/').toLowerCase();
//console.log("patchPath: "+patchPath);
if (patchPath === file) {
var validationMessage = message.message;
//console.log("FOUND! "+message.message);
tableAPI.cell(i,1).data(validationMessage);
var errorCode = message.errorCode;
//console.log("FOUND! "+message.errorCode);
tableAPI.cell(i,4).data(errorCode);
tableAPI.draw();
}
};
checkValidations();
break;
}
});

Expand Down

0 comments on commit e729eb4

Please sign in to comment.