This commit is contained in:
James Campos 2011-08-25 15:49:30 -07:00
parent fbe4d9be5a
commit cbe51e7822
2 changed files with 0 additions and 7 deletions

View File

@ -1426,9 +1426,6 @@
},
submit: function(e) {
var id, msg, op;
if (this.id !== 'qr_form') {
return;
}
if (msg = qr.postInvalid()) {
if (typeof e.preventDefault === "function") {
e.preventDefault();
@ -2798,7 +2795,6 @@
$.addStyle(main.css);
if ((form = $('form[name=post]')) && (canPost = !!$('#recaptcha_response_field'))) {
Recaptcha.init();
$.bind(form, 'submit', qr.submit);
}
threading.init();
if (g.REPLY && (id = location.hash.slice(1)) && /\d/.test(id[0]) && !$.id(id)) {

View File

@ -1176,8 +1176,6 @@ qr =
$.replace oldFile, newFile
submit: (e) ->
return unless @id is 'qr_form'
#XXX `e` won't exist if we're here from `qr.submit.call form`.
if msg = qr.postInvalid()
e.preventDefault?()
@ -2207,7 +2205,6 @@ main =
#recaptcha may be blocked, eg by noscript
if (form = $ 'form[name=post]') and (canPost = !!$ '#recaptcha_response_field')
Recaptcha.init()
$.bind form, 'submit', qr.submit
#major features
threading.init()