mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Improved error log and implemented a variable and function for file path storage
This commit is contained in:
@@ -4,7 +4,8 @@ uploadContainer.addEventListener("dragover", (e) =>{
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
} catch (error) {
|
||||
console.log("Error in renderer.js dragover listener function")
|
||||
console.log("Error in renderer.js dragover listener function");
|
||||
console.log(error);
|
||||
}
|
||||
|
||||
});
|
||||
@@ -21,10 +22,12 @@ uploadContainer.addEventListener("drop", (e) => {
|
||||
console.log(filePath)
|
||||
|
||||
const files1 = e.dataTransfer.files;
|
||||
setCurrentPathVariable(filePath);
|
||||
handleFiles(files1);
|
||||
}
|
||||
} catch (error) {
|
||||
console.log("Error in renderer.js with the listerner for the drop function");
|
||||
console.log(error);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user