summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2008-01-04 22:04:50 +0000
committerxue <>2008-01-04 22:04:50 +0000
commit07fb71a7fc24a4caecec70288d4167906cdbd09e (patch)
tree511c9589905ad1582c82e8f1a3850c67241401c8 /framework/Web
parent713b2aa2e7c4e380851eee80b4077437fa522f59 (diff)
Fixed #744.
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Javascripts/source/prado/activecontrols/ajax3.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
index e7c7e20f..6fd71948 100644
--- a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
+++ b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
@@ -230,7 +230,10 @@ Object.extend(Prado.CallbackRequest,
"on500" : function(request, transport, data)
{
var e = request.getHeaderData(Prado.CallbackRequest.ERROR_HEADER);
- Logger.error("Callback Server Error "+e.code, this.formatException(e));
+ if (e)
+ Logger.error("Callback Server Error "+e.code, this.formatException(e));
+ else
+ Logger.error("Callback Server Error Unknown",'');
},
/**