attach error message to text
This commit is contained in:
parent
2a74af9b3b
commit
d8f6deb447
@ -1342,6 +1342,7 @@
|
|||||||
qr.autoPost();
|
qr.autoPost();
|
||||||
}
|
}
|
||||||
} else if (data.textContent === 'Error: Duplicate file entry detected.' && qr.files.childElementCount) {
|
} else if (data.textContent === 'Error: Duplicate file entry detected.' && qr.files.childElementCount) {
|
||||||
|
$('textarea', qr.el).value += '\n' + data.textContent + ' ' + data.href;
|
||||||
qr.attachNext();
|
qr.attachNext();
|
||||||
if (qr.captcha.length) {
|
if (qr.captcha.length) {
|
||||||
qr.autoPost();
|
qr.autoPost();
|
||||||
|
|||||||
@ -1087,6 +1087,7 @@ qr =
|
|||||||
if qr.captcha.length
|
if qr.captcha.length
|
||||||
qr.autoPost()
|
qr.autoPost()
|
||||||
else if data.textContent is 'Error: Duplicate file entry detected.' and qr.files.childElementCount
|
else if data.textContent is 'Error: Duplicate file entry detected.' and qr.files.childElementCount
|
||||||
|
$('textarea', qr.el).value += '\n' + data.textContent + ' ' + data.href
|
||||||
qr.attachNext()
|
qr.attachNext()
|
||||||
if qr.captcha.length
|
if qr.captcha.length
|
||||||
qr.autoPost()
|
qr.autoPost()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user