From 828a0ecaee76099dd810524b1369568d589485e4 Mon Sep 17 00:00:00 2001 From: dbs Date: Wed, 30 Jan 2008 03:23:21 +0000 Subject: [PATCH] We actually need to test for equality with '0' git-svn-id: svn://svn.open-ils.org/ILS/trunk@8533 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/circ/checkout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/circ/checkout.js b/Open-ILS/xul/staff_client/server/circ/checkout.js index d67c1146cf..3ff392f1f1 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkout.js +++ b/Open-ILS/xul/staff_client/server/circ/checkout.js @@ -364,7 +364,7 @@ circ.checkout.prototype = { var checkout = req.getResultObject(); - if (checkout.ilsevent === 0) { + if (checkout.ilsevent === '0') { if (!checkout.payload) { checkout.payload = {}; } @@ -597,7 +597,7 @@ circ.checkout.prototype = { /**********************************************************************************************************************/ /* Normal case, proceed with checkout */ - if (permit.ilsevent === 0) { + if (permit.ilsevent === '0') { JSAN.use('util.sound'); var sound = new util.sound(); sound.circ_good(); params.permit_key = permit.payload; -- 2.11.0