.
This commit is contained in:
@@ -327,6 +327,7 @@ table.table {
|
|||||||
/* float: right; */
|
/* float: right; */
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: inline;
|
display: inline;
|
||||||
|
max-width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* img.uploading:hover {
|
/* img.uploading:hover {
|
||||||
|
|||||||
@@ -382,13 +382,14 @@
|
|||||||
{ logger: m => console.log(m) }
|
{ logger: m => console.log(m) }
|
||||||
).then(({ data: { text } }) => {
|
).then(({ data: { text } }) => {
|
||||||
l = text.toLowerCase();
|
l = text.toLowerCase();
|
||||||
$(`img[data-input-id='${input.id}'`).removeClass("image-ident-loading");
|
uploading_el = $(`img[data-input-id='${input.id}', div[data-input-id='${input.id}'`)
|
||||||
|
uploading_el.removeClass("image-ident-loading");
|
||||||
console.log("found text", l);
|
console.log("found text", l);
|
||||||
if (l.includes("accesion") || l.includes("number") || l.search(
|
if (l.includes("accesion") || l.includes("number") || l.search(
|
||||||
/(ref|rk9|rh8|ra9|rbz)\d+/g) > -1) {
|
/(ref|rk9|rh8|ra9|rbz)\d+/g) > -1) {
|
||||||
console.log("Match found ", input);
|
console.log("Match found ", input);
|
||||||
$(input).addClass("image-ident-warning");
|
$(input).addClass("image-ident-warning");
|
||||||
$(`img[data-input-id='${input.id}'`).addClass("image-ident-warning");
|
uploading_el.addClass("image-ident-warning");
|
||||||
} else {
|
} else {
|
||||||
$(input).addClass("image-ident-ok");
|
$(input).addClass("image-ident-ok");
|
||||||
|
|
||||||
|
|||||||
@@ -327,6 +327,7 @@ table.table {
|
|||||||
/* float: right; */
|
/* float: right; */
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: inline;
|
display: inline;
|
||||||
|
max-width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* img.uploading:hover {
|
/* img.uploading:hover {
|
||||||
|
|||||||
Reference in New Issue
Block a user