mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-05 03:22:10 +09:00
XML 요청을 주고 받을 때 response_tag에 error와 message가 기본 포함되도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7356 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
cd195299d2
commit
668e27150e
1 changed files with 4 additions and 1 deletions
|
|
@ -189,6 +189,9 @@ $.exec_xml = window.exec_xml = function(module, act, params, callback_func, resp
|
|||
|
||||
if(typeof(xeVid)!='undefined') params['vid'] = xeVid;
|
||||
if(typeof(response_tags)=="undefined" || response_tags.length<1) response_tags = ['error','message'];
|
||||
else {
|
||||
response_tags.push('error', 'message');
|
||||
}
|
||||
// }}} set parameters
|
||||
|
||||
// use ssl?
|
||||
|
|
@ -386,4 +389,4 @@ $.fn.exec_html = function(action,data,type,func,args){
|
|||
});
|
||||
}
|
||||
};
|
||||
})(jQuery);
|
||||
})(jQuery);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue