*** empty log message ***
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 7 Aug 2006 17:33:12 +0000 (17:33 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 7 Aug 2006 17:33:12 +0000 (17:33 +0000)
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

index 7cfe58c..ff7b952 100644 (file)
@@ -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);