Skip to content
Snippets Groups Projects
Commit 2e4aee13 authored by bwaindwain's avatar bwaindwain Committed by Marc Orcau
Browse files

Issue #3421476 by bwaindwain, Rangaswini: Mini captcha JS error on click

parent af02c412
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@
$('#captchaWrapper-mini').find('.targetWrapper').html($(this));
//Check captcha answer
$.post(drupalSettings.path.baseUrl + 'draggable-captcha-mini/'+Drupal.settings.draggable_captcha_mini.captcha_sid+'/verify', { action: 'verify', captcha: $(this).attr('id') }, function(data) {
$.post(drupalSettings.path.baseUrl + 'draggable-captcha-mini/'+drupalSettings.draggable_captcha.captcha_sid+'/verify', { action: 'verify', captcha: $(this).attr('id') }, function(data) {
if (data.status == "success") {
$('#captchaWrapper-mini').find('.targetWrapper').addClass('captchaSuccess').hide().fadeIn('slow');
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment