This commit is contained in:
Ross
2021-11-22 20:03:29 +00:00
parent 334a1aad5b
commit a4abfac31f
+4 -2
View File
@@ -446,7 +446,7 @@
ocr2(url, el);
checkHash(hash);
checkHash(hash, el);
$("#drop-filenames").append(
`<span data-input-id='${el.id}'><span>${n}: ${el.files[0].name}</span><img class='uploading${extra_class}' data-input-id='${el.id}' src=${url}></span>`
@@ -469,7 +469,7 @@
let hash = CryptoJS.MD5(pixel_data).toString();
console.log(element, "HASH", hash)
checkHash(hash);
checkHash(hash, el);
});
@@ -649,8 +649,10 @@
if (data.status == "success") {
console.log("success");
console.log(data.id)
if (data.id) {
toastr.info(`id ${data.id}`)
}
}
})
.always(function () {
console.log('[Done]');