From fe2536ef56221d95a69cce42e0c3b05fd102f02a Mon Sep 17 00:00:00 2001 From: bnu Date: Sat, 8 Mar 2008 23:20:12 +0000 Subject: [PATCH] fixed #434 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3917 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/js/xml_handler.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/js/xml_handler.js b/common/js/xml_handler.js index 10a26d2df..d5f50efd3 100644 --- a/common/js/xml_handler.js +++ b/common/js/xml_handler.js @@ -35,8 +35,10 @@ function xml_response_filter(oXml, callback_func, response_tags, callback_func_a if(!xmlDoc) return null; var waiting_obj = xGetElementById("waitingforserverresponse"); - waiting_obj.style.visibility = "hidden"; - xInnerHtml(waiting_obj, ''); + if(waiting_obj) { + waiting_obj.style.visibility = "hidden"; + xInnerHtml(waiting_obj, ''); + } var ret_obj = oXml.toZMsgObject(xmlDoc, response_tags); if(ret_obj["error"]!=0) {