[open-ils-commits] [GIT] Evergreen ILS branch master updated. b82f69844875d05272cc6d93d90b2160f0f9acf4
Evergreen Git
git at git.evergreen-ils.org
Wed Jul 20 13:20:18 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, master has been updated
via b82f69844875d05272cc6d93d90b2160f0f9acf4 (commit)
from ebf39c188a76d5a2fcdb283f334319a63d9f8570 (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 b82f69844875d05272cc6d93d90b2160f0f9acf4
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 c7d3813..11f5373 100644
--- a/Open-ILS/xul/staff_client/server/circ/checkout.js
+++ b/Open-ILS/xul/staff_client/server/circ/checkout.js
@@ -762,7 +762,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