#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
This commit is contained in:
haneul 2010-05-19 07:43:39 +00:00
parent 658d12e952
commit 1339d59fff

View file

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