mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 08:09:58 +09:00
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:
parent
3581db5932
commit
a16874dc8a
47 changed files with 960 additions and 273 deletions
17
addons/captcha_member/inline_captcha.js
Normal file
17
addons/captcha_member/inline_captcha.js
Normal 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));
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue