Skip to content
Snippets Groups Projects
Commit 3ece35ef authored by Otto Zaiser's avatar Otto Zaiser
Browse files

Arreglando drop area del stamp

parent 98deab38
No related branches found
No related tags found
No related merge requests found
...@@ -260,20 +260,22 @@ function ots_check(file) { ...@@ -260,20 +260,22 @@ function ots_check(file) {
} }
function allowDrop(e) { function allowDrop(e) {
e.preventDefault(); e.preventDefault();
} }
function dropStamp(e) {
e.preventDefault();
var file = e.dataTransfer.items[0].getAsFile();
stamp(file);
}
function dropOTSFile(e) { function dropOTSFile(e) {
e.preventDefault(); e.preventDefault();
var file = e.dataTransfer.items[0].getAsFile(); var file = e.dataTransfer.items[0].getAsFile();
ots_check(file); ots_check(file);
} }
function dropOriginalFile(e) { function dropOriginalFile(e) {
e.preventDefault(); e.preventDefault();
var file = e.dataTransfer.items[0].getAsFile(); var file = e.dataTransfer.items[0].getAsFile();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment