actually submit when called by cooldown

This commit is contained in:
James Campos 2011-07-20 02:53:43 -07:00
parent 861e993fd0
commit 3b2b50a230
2 changed files with 4 additions and 0 deletions

View File

@ -1324,6 +1324,9 @@
return alert('Error: File too large.'); return alert('Error: File too large.');
} }
} else if (isQR) { } else if (isQR) {
if (!e) {
this.submit();
}
$('#error').textContent = ''; $('#error').textContent = '';
qr.autohide.set(); qr.autohide.set();
return qr.sage = /sage/i.test($('input[name=email]', this).value); return qr.sage = /sage/i.test($('input[name=email]', this).value);

View File

@ -1040,6 +1040,7 @@ qr =
alert 'Error: File too large.' alert 'Error: File too large.'
else if isQR else if isQR
if !e then @submit()
$('#error').textContent = '' $('#error').textContent = ''
qr.autohide.set() qr.autohide.set()
qr.sage = /sage/i.test $('input[name=email]', @).value qr.sage = /sage/i.test $('input[name=email]', @).value