Committer: dpetrov
LJSV-1103: OpenID commenting fails sometimes if CAPTCHA is enabled ("Invalid form submission")U trunk/cgi-bin/LJ/Talk.pm U trunk/templates/CommentForm/Form.tmpl
Modified: trunk/cgi-bin/LJ/Talk.pm =================================================================== --- trunk/cgi-bin/LJ/Talk.pm 2011-12-14 08:20:12 UTC (rev 20777) +++ trunk/cgi-bin/LJ/Talk.pm 2011-12-14 08:31:43 UTC (rev 20778) @@ -1983,7 +1983,7 @@ my $apikey = LJ::conf_test( $LJ::RECAPTCHA{public_key} ); $captcha_html .= $c->get_options_setter( - { 'theme' => 'white', + { 'theme' => 'clean', 'lang' => BML::get_language(), } ); Modified: trunk/templates/CommentForm/Form.tmpl =================================================================== --- trunk/templates/CommentForm/Form.tmpl 2011-12-14 08:20:12 UTC (rev 20777) +++ trunk/templates/CommentForm/Form.tmpl 2011-12-14 08:31:43 UTC (rev 20778) @@ -171,7 +171,7 @@ <tr class="b-postform-submitbox b-postform-captchabox <TMPL_IF need_captcha>b-postform-captchabox-active</TMPL_IF>"> <td> </td> <td id="captcha-container"> - <TMPL_IF need_captcha><noscript><TMPL_VAR captcha_html></noscript></TMPL_IF> + <TMPL_IF need_captcha><TMPL_VAR captcha_html></TMPL_IF> </td> </tr>