[open-ils-commits] r11847 - trunk/Open-ILS/xul/staff_client/chrome/content/util
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 15 13:08:45 EST 2009
Author: phasefx
Date: 2009-01-15 13:08:43 -0500 (Thu, 15 Jan 2009)
New Revision: 11847
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js
Log:
This was dying on E == null
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js 2009-01-15 18:03:40 UTC (rev 11846)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js 2009-01-15 18:08:43 UTC (rev 11847)
@@ -268,7 +268,7 @@
'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.";
}
More information about the open-ils-commits
mailing list