From 1339d59fffe8b9559c55ee8614e1445d5fa059d5 Mon Sep 17 00:00:00 2001 From: haneul Date: Wed, 19 May 2010 07:43:39 +0000 Subject: [PATCH] #18898506 : removed alert message from parser error when response text is null git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7477 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/js/xml_handler.js | 1 + 1 file changed, 1 insertion(+) 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;