From 61c10e3f42084f81511822df384eaa7170fa8ae9 Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 7 Aug 2006 17:33:12 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.open-ils.org/ILS/trunk@5337 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/checkout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/circ/checkout.js b/Open-ILS/xul/staff_client/server/circ/checkout.js index 7cfe58ce7a..ff7b952812 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkout.js +++ b/Open-ILS/xul/staff_client/server/circ/checkout.js @@ -552,7 +552,7 @@ circ.checkout.prototype = { } } catch(E) { - if (E.ilsevent && E.ilsevent == -1) { + if (typeof E.ilsevent != 'undefined' && E.ilsevent == -1) { obj.error.standard_network_error_alert('Check Out Failed. If you wish to use the offline interface, in the top menubar select Circulation -> Offline Interface'); } else { obj.error.standard_unexpected_error_alert('Check Out Failed',E); -- 2.11.0