.
This commit is contained in:
@@ -446,7 +446,7 @@
|
|||||||
|
|
||||||
|
|
||||||
ocr2(url, el);
|
ocr2(url, el);
|
||||||
checkHash(hash);
|
checkHash(hash, el);
|
||||||
|
|
||||||
$("#drop-filenames").append(
|
$("#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>`
|
`<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();
|
let hash = CryptoJS.MD5(pixel_data).toString();
|
||||||
console.log(element, "HASH", hash)
|
console.log(element, "HASH", hash)
|
||||||
checkHash(hash);
|
checkHash(hash, el);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -649,8 +649,10 @@
|
|||||||
if (data.status == "success") {
|
if (data.status == "success") {
|
||||||
console.log("success");
|
console.log("success");
|
||||||
console.log(data.id)
|
console.log(data.id)
|
||||||
|
if (data.id) {
|
||||||
toastr.info(`id ${data.id}`)
|
toastr.info(`id ${data.id}`)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.always(function () {
|
.always(function () {
|
||||||
console.log('[Done]');
|
console.log('[Done]');
|
||||||
|
|||||||
Reference in New Issue
Block a user