This commit is contained in:
James Campos 2011-09-02 23:21:12 -07:00
parent e7c77f7cb5
commit de27220c0d
2 changed files with 4 additions and 4 deletions

View File

@ -1409,9 +1409,9 @@
tc = data.textContent; tc = data.textContent;
if (tc === 'Error: Duplicate file entry detected.') { if (tc === 'Error: Duplicate file entry detected.') {
QR.attachNext(); QR.attachNext();
QR.submit(); setTimeout(QR.submit, 1000);
} else if (tc === 'You seem to have mistyped the verification.') { } else if (tc === 'You seem to have mistyped the verification.') {
QR.submit(); setTimeout(QR.submit, 1000);
} }
return; return;
} }

View File

@ -1103,9 +1103,9 @@ QR =
tc = data.textContent tc = data.textContent
if tc is 'Error: Duplicate file entry detected.' if tc is 'Error: Duplicate file entry detected.'
QR.attachNext() QR.attachNext()
QR.submit() setTimeout QR.submit, 1000
else if tc is 'You seem to have mistyped the verification.' else if tc is 'You seem to have mistyped the verification.'
QR.submit() setTimeout QR.submit, 1000
return return
if conf['Persistent QR'] or $('#files input', QR.el)?.files.length if conf['Persistent QR'] or $('#files input', QR.el)?.files.length
QR.reset() QR.reset()