[open-ils-commits] r11958 - trunk/Open-ILS/xul/staff_client/chrome/content/util

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Jan 25 20:04:14 EST 2009


Author: phasefx
Date: 2009-01-25 20:04:13 -0500 (Sun, 25 Jan 2009)
New Revision: 11958

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js
Log:
The 'error' passed to the unexpected error dialog may be a string

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-26 00:38:50 UTC (rev 11957)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js	2009-01-26 01:04:13 UTC (rev 11958)
@@ -280,7 +280,7 @@
 			}
 		}
 		if (!msg) msg = '';
-		var alert_msg = 'FIXME:  If you encounter this alert, please inform your IT/ILS helpdesk staff or your friendly Evergreen developers.\n\n' + (new Date()) + '\n\n' + msg + '\n\n' + (typeof E.ilsevent != 'undefined' ? E.textcode + '\n' + (E.desc ? E.desc + '\n' : '') : '') + ( typeof E.status != 'undefined' ? 'Status: ' + E.status + '\n': '' );
+		var alert_msg = 'FIXME:  If you encounter this alert, please inform your IT/ILS helpdesk staff or your friendly Evergreen developers.\n\n' + (new Date()) + '\n\n' + msg + '\n\n' + (typeof E.ilsevent != 'undefined' ? E.textcode + '\n' + (E.desc ? E.desc + '\n' : '') : '') + ( typeof E.status != 'undefined' ? 'Status: ' + E.status + '\n': '' ) + ( typeof E == 'string' ? E + '\n' : '' );
 		obj.sdump('D_ERROR',msg + ' : ' + js2JSON(E));
 		var r = obj.yns_alert(
 			alert_msg,	



More information about the open-ils-commits mailing list