[open-ils-commits] r8533 -
trunk/Open-ILS/xul/staff_client/server/circ
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Jan 29 22:50:46 EST 2008
Author: dbs
Date: 2008-01-29 22:23:21 -0500 (Tue, 29 Jan 2008)
New Revision: 8533
Modified:
trunk/Open-ILS/xul/staff_client/server/circ/checkout.js
Log:
We actually need to test for equality with '0'
Modified: trunk/Open-ILS/xul/staff_client/server/circ/checkout.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/checkout.js 2008-01-29 21:31:22 UTC (rev 8532)
+++ trunk/Open-ILS/xul/staff_client/server/circ/checkout.js 2008-01-30 03:23:21 UTC (rev 8533)
@@ -364,7 +364,7 @@
var checkout = req.getResultObject();
- if (checkout.ilsevent === 0) {
+ if (checkout.ilsevent === '0') {
if (!checkout.payload) { checkout.payload = {}; }
@@ -597,7 +597,7 @@
/**********************************************************************************************************************/
/* 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;
More information about the open-ils-commits
mailing list