fixed Issue 3632 CAPTCHA 애드온을 회원용과 게시물/댓글 용을 분리

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13188 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2013-11-08 06:12:29 +00:00
parent 3581db5932
commit a16874dc8a
47 changed files with 960 additions and 273 deletions

View file

@ -0,0 +1,17 @@
jQuery(function($){
$('button.captchaPlay')
.click(function(){
var swf = document['captcha_audio'] || window['captcha_audio'];
var audio = current_url.setQuery('captcha_action','captchaAudio').setQuery('rand', (new Date).getTime());
if(swf.length > 1) swf = swf[0];
$('input[type=text]#secret_text').focus();
swf.setSoundTarget(audio,'1');
});
$('button.captchaReload')
.click(function(){
$("#captcha_image").attr("src", current_url.setQuery('captcha_action','captchaImage').setQuery('rand', (new Date).getTime()).setQuery('renew',1));
});
});