5.3 버전 내용 적용
This commit is contained in:
20
plugin/recaptcha_inv/recaptcha.js
Normal file
20
plugin/recaptcha_inv/recaptcha.js
Normal file
@ -0,0 +1,20 @@
|
||||
function chk_captcha()
|
||||
{
|
||||
if ( ! jQuery('#g-recaptcha-response').val()) {
|
||||
grecaptcha.execute();
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function recaptcha_validate(token) {
|
||||
var $form = jQuery("#g-recaptcha-response").closest("form"),
|
||||
form_id = $form.attr("id");
|
||||
|
||||
|
||||
if( $form.length ){
|
||||
$form.submit();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user