Commit 4d2fe59a33316eea060c012e10091cf33bd9b05f
1 parent
d1db26ac
Exists in
master
and in
5 other branches
Fix merge Serpro captcha
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
index.html
... | ... | @@ -444,7 +444,7 @@ |
444 | 444 | Digite os caracteres acima: |
445 | 445 | </div> |
446 | 446 | <div class="captcha col-sm-6"> |
447 | - <input type="text" name="captcha_text" > | |
447 | + <input type="text" name="captcha_text" id="captcha_text"> | |
448 | 448 | </div> |
449 | 449 | <div id="terms-of-use-box" class="col-sm-12"> |
450 | 450 | <div class="checkbox"> | ... | ... |
js/main.js
... | ... | @@ -1175,7 +1175,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun |
1175 | 1175 | var $inputPassword = $signupForm.find('#signup-user_password'); |
1176 | 1176 | var $inputPasswordConfirmation = $signupForm.find('#user_password_confirmation'); |
1177 | 1177 | var $inputAcceptation = $signupForm.find('#user_terms_accepted'); |
1178 | - var $inputCaptcha = $signupForm.find('#recaptcha_response_field'); | |
1178 | + var $inputCaptcha = $signupForm.find('#captcha_text'); | |
1179 | 1179 | |
1180 | 1180 | // clear messages |
1181 | 1181 | var message = $('.signup .message'); | ... | ... |