diff --git a/common/js/xml_handler.js b/common/js/xml_handler.js index 53d0c6a55..2f6689e16 100644 --- a/common/js/xml_handler.js +++ b/common/js/xml_handler.js @@ -293,6 +293,7 @@ $.exec_xml = window.exec_xml = function(module, act, params, callback_func, resp var msg = ''; if (textStatus == 'parsererror') { msg = 'The result is not valid XML :\n-------------------------------------\n'; + if(xhr.responseText == "") return; msg += xhr.responseText.replace(/<[^>]+>/g, ''); } else { msg = textStatus;