mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-19 18:32:52 +09:00
captcha 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5825 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
da5eb765d4
commit
240e2a9c78
1 changed files with 5 additions and 6 deletions
|
|
@ -32,15 +32,14 @@ var calledArgs = null;
|
|||
|
||||
body.append(captchaXE);
|
||||
|
||||
captchaXE.exec= function(module, act, params, callback_func, response_tags, callback_func_arg, fo_obj) {
|
||||
captchaXE.exec = function(module, act, params, callback_func, response_tags, callback_func_arg, fo_obj) {
|
||||
if(act == 'procBoardInsertDocument' || act == 'procBoardInsertComment' || act == 'procIssuetrackerInsertIssue' || act == 'procIssuetrackerInsertHistory') {
|
||||
oldExecXml('captcha','setCaptchaSession',new Array(),this.show,new Array('error','message','about','keyword'));
|
||||
calledArgs = {'module':module,'act':act,'params':params,'callback_func':callback_func,'response_tags':response_tags,'callback_func_arg':callback_func_arg,'fo_obj':fo_obj}
|
||||
return true;
|
||||
calledArgs = {'module':module,'act':act,'params':params,'callback_func':callback_func,'response_tags':response_tags,'callback_func_arg':callback_func_arg,'fo_obj':fo_obj};
|
||||
oldExecXml('captcha','setCaptchaSession',new Array(),captchaXE.show,new Array('error','message','about','keyword'));
|
||||
} else {
|
||||
oldExecXml(module, act, params, callback_func, response_tags, callback_func_arg, fo_obj);
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
captchaXE.show = function(ret_obj) {
|
||||
|
|
@ -101,7 +100,7 @@ var calledArgs = null;
|
|||
return captchaXE;
|
||||
}
|
||||
|
||||
$(window).load(function(){
|
||||
$(window).ready(function(){
|
||||
oldExecXml = exec_xml;
|
||||
exec_xml = xeCaptcha().exec;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue