From 6a36f26773ce9245002917db308188dfeb0b19db Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 26 Jan 2009 01:04:13 +0000 Subject: [PATCH] The 'error' passed to the unexpected error dialog may be a string git-svn-id: svn://svn.open-ils.org/ILS/trunk@11958 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 33bec73fbb..e5b6a493c3 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/error.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/error.js @@ -280,7 +280,7 @@ util.error.prototype = { } } 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, -- 2.43.2