From 408139680d9c9af5a0d4cb871e1a539c6d65127b Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 15 Jan 2009 18:08:43 +0000 Subject: [PATCH] This was dying on E == null git-svn-id: svn://svn.open-ils.org/ILS/trunk@11847 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/util/error.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/error.js b/Open-ILS/xul/staff_client/chrome/content/util/error.js index aa83188ec9..33bec73fbb 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/error.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/error.js @@ -268,7 +268,7 @@ util.error.prototype = { 'standard_unexpected_error_alert' : function(msg,E) { var obj = this; - if (typeof E.ilsevent != 'undefined') { + if (E != null && typeof E.ilsevent != 'undefined') { if (E.ilsevent == 0 /* SUCCESS */ ) { msg = "The action involved likely succeeded, however, this part of the software needs to be updated to better understand success messages from the server, so please let us know about it."; } -- 2.11.0