can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r20815: LJSUP-10814: captcha is not loaded for a...

Committer: dpetrov
LJSUP-10814: captcha is not loaded for anonymous commenters
U   trunk/templates/CommentForm/Form.tmpl
Modified: trunk/templates/CommentForm/Form.tmpl
===================================================================
--- trunk/templates/CommentForm/Form.tmpl	2011-12-20 06:28:09 UTC (rev 20814)
+++ trunk/templates/CommentForm/Form.tmpl	2011-12-20 10:26:26 UTC (rev 20815)
@@ -221,9 +221,9 @@
         .commentator({
             publicKey: '<TMPL_VAR captcha_public>',
             captchaContainerId: 'captcha-container',
-            needCaptcha: !!(Number('<TMPL_VAR need_captcha>'))
         })
         .authtype({
+            forceStartupCaptcha: !!(Number('<TMPL_VAR need_captcha>')),
             selectors: {
                 authTypeRadios: '.b-postform-login-{authType} .b-postform-login-radio'
             }

Tags: can3p, dpetrov, livejournal, 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