Skip to content

Commit

Permalink
Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Cypress Borg committed Aug 14, 2023
1 parent 7a70ea6 commit 3d19369
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/main/java/formflow/library/FileController.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ RedirectView delete(
}

httpSession.setAttribute(SESSION_USERFILES_KEY, dzFilesMap);
log.info("setAttribute {}", dzFilesMap);

return new RedirectView(returnPath);
} catch (Exception e) {
Expand Down
4 changes: 0 additions & 4 deletions src/main/resources/templates/fragments/fileUploader.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@
}

function removeFileFromDropzone(file, id) {
console.log("🔴 Remove file", file);
window[dropzonePrefix + [[${inputName}]]].removeFile(file);
if (id) {
let toDeleteIdx = window['userFileIds' + [[${inputName}]]].indexOf(id);
Expand All @@ -203,11 +202,9 @@
+ [[${inputName}]]].options.maxFiles) {
toggleMaxFileMessage('off');
}
console.log("After", window['userFileIds' + [[${inputName}]]]);
}

function deleteCancelledFiles(file, id) {
console.log("Before", window['cancelledFiles' + [[${inputName}]]]);
let filesToDelete = window['cancelledFiles' + [[${inputName}]]];
filesToDelete.forEach(fTD => {
if (fTD.name === file.name) {
Expand All @@ -218,7 +215,6 @@
.filter(cancelledFile => cancelledFile.name !== file.name);
}
});
console.log("After", window['cancelledFiles' + [[${inputName}]]]);
}

function sendDeleteXhrRequest(id) {
Expand Down

0 comments on commit 3d19369

Please sign in to comment.