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:
taggon 2010-03-29 04:41:24 +00:00
parent cd195299d2
commit 668e27150e

View file

@ -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);