can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r20778: LJSV-1103: OpenID commenting fails somet...

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>&nbsp;</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>
 

Tags: can3p, dpetrov, livejournal, pm, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments