fix for firefox 4.0b6

This commit is contained in:
James Campos 2010-10-11 05:51:23 -07:00
parent df8c584caa
commit b661e8622a
2 changed files with 3 additions and 8 deletions

View File

@ -499,9 +499,9 @@ quickReply = (e) ->
if not REPLY
xpath = 'preceding::span[@class="postername"][1]/preceding::input[1]'
input = n 'input', {
value: x(xpath, this).name
type: 'hidden'
name: 'resto'
value: x(xpath, this).name
}
clone.appendChild(input)
qr.appendChild(clone)
@ -744,10 +744,7 @@ if getConfig('Quick Reply')
)
#hack - nuke id so it doesn't grab focus when reloading
console.log 'wat'
console.log $('#recaptcha_response_field')
$('#recaptcha_response_field').id = ''
#$('form[name=post] input[name=recaptcha_response_field]').id = ''
if getConfig('Quick Report')

View File

@ -540,9 +540,9 @@
if (!REPLY) {
xpath = 'preceding::span[@class="postername"][1]/preceding::input[1]';
input = n('input', {
value: x(xpath, this).name,
type: 'hidden',
name: 'resto'
name: 'resto',
value: x(xpath, this).name
});
clone.appendChild(input);
}
@ -825,8 +825,6 @@
}
return _result;
});
console.log('wat');
console.log($('#recaptcha_response_field'));
$('#recaptcha_response_field').id = '';
}
if (getConfig('Quick Report')) {