This commit is contained in:
James Campos 2012-06-13 05:54:19 -07:00
parent 51e6aae640
commit 457f3ec977
2 changed files with 3 additions and 6 deletions

View File

@ -1985,7 +1985,7 @@
return QR.el.dispatchEvent(e);
},
submit: function(e) {
var callbacks, captcha, captchas, challenge, data, err, m, opts, post, reply, response, threadID;
var callbacks, captcha, captchas, challenge, err, m, opts, post, reply, response, threadID;
if (e != null) {
e.preventDefault();
}
@ -2052,7 +2052,6 @@
recaptcha_challenge_field: challenge,
recaptcha_response_field: response + ' '
};
data = $.formData(post);
callbacks = {
onload: function() {
return QR.response(this.response);
@ -2067,7 +2066,7 @@
}
};
opts = {
form: data,
form: $.formData(post),
upCallbacks: {
onload: function() {
return QR.status({

View File

@ -1555,8 +1555,6 @@ QR =
recaptcha_challenge_field: challenge
recaptcha_response_field: response + ' '
data = $.formData post
callbacks =
onload: ->
QR.response @response
@ -1569,7 +1567,7 @@ QR =
target: '_blank'
textContent: 'Connection error, or you are banned.'
opts =
form: data
form: $.formData post
upCallbacks:
onload: ->
# Upload done, waiting for response.