diff --git a/common/js/xml_handler.js b/common/js/xml_handler.js index bb10c6321..6f8930804 100644 --- a/common/js/xml_handler.js +++ b/common/js/xml_handler.js @@ -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); \ No newline at end of file +})(jQuery);