Commit 13f3dd7603241274d20cc745ef284104bcc2a08d

Authored by Antonio Terceiro
2 parents d2e9a99b 5164ee04

Merge branch 'AI3250-fix_comment_form_captcha' into 'master'

Ai3250 fix comment form captcha

http://noosfero.org/Development/ActionItem3250

See merge request !280
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/comment/_comment_form.html.erb
... ... @@ -31,7 +31,7 @@ function check_captcha(button, confirm_action) {
31 31 return true;
32 32 <% else %>
33 33 jQuery('#recaptcha-container').show();
34   - jQuery.colorbox({ inline : true, href : '#recaptcha-container', maxWidth : '600px', maxHeight : '300px' });
  34 + jQuery.colorbox({ html: jQuery('#recaptcha-container').html(), maxWidth : '600px', maxHeight : '300px' });
35 35 jQuery('#confirm-captcha').unbind('click');
36 36 jQuery('#confirm-captcha').bind('click', function() {
37 37 jQuery.colorbox.close();
... ...