[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 1385b97fc22f4874488f4c2b4dbd524017dcd553
Evergreen Git
git at git.evergreen-ils.org
Wed Jul 20 13:20:21 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_1 has been updated
via 1385b97fc22f4874488f4c2b4dbd524017dcd553 (commit)
from 836ec389b0ade622339a7d2437479ec5c8d04681 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1385b97fc22f4874488f4c2b4dbd524017dcd553
Author: Michael Peters <mrpeters at library.in.gov>
Date: Wed Jul 20 11:09:40 2011 -0400
LP#647121 Event handling on override abort
Discussed on IRC, phasefx discovered that several events were not being properly
handled when they were empty strings. Tested and working on Evergreen 2.0.4.
Signed-off-by: Michael Peters <mrpeters at library.in.gov>
Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
diff --git a/Open-ILS/xul/staff_client/server/circ/checkout.js b/Open-ILS/xul/staff_client/server/circ/checkout.js
index 4227858..fe65d7f 100644
--- a/Open-ILS/xul/staff_client/server/circ/checkout.js
+++ b/Open-ILS/xul/staff_client/server/circ/checkout.js
@@ -741,7 +741,7 @@ circ.checkout.prototype = {
for (var i = 0; i < test_permit.length; i++) {
dump('found [' + test_permit[i].ilsevent + ']\n');
- switch(test_permit[i].ilsevent == null ? null : Number(test_permit[i].ilsevent)) {
+ switch(test_permit[i].ilsevent == null || test_permit[i].ilsevent == '' ? null : Number(test_permit[i].ilsevent)) {
case null /* custom event */ :
found_handled = true;
break;
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/xul/staff_client/server/circ/checkout.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list