[open-ils-commits] [GIT] Evergreen ILS branch master updated. 489dba386a4be2a950149e4cf28f106b6fa4a1d6
Evergreen Git
git at git.evergreen-ils.org
Sat Feb 27 17:50:34 EST 2016
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 489dba386a4be2a950149e4cf28f106b6fa4a1d6 (commit)
from 4d2179dc437dbfc945bce6e38cad8af7ef5a0963 (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 489dba386a4be2a950149e4cf28f106b6fa4a1d6
Author: Kathy Lussier <klussier at masslnc.org>
Date: Thu Feb 25 12:26:02 2016 -0500
LP#1422802 Fix javascript validation for visible parts
The previous javascript validation was not working for records with just one
part. This one works better. Many thanks to Dan Wells for identifying the fix.
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
Signed-off-by: Ben Shum <ben at evergreener.net>
diff --git a/Open-ILS/src/templates/opac/parts/js.tt2 b/Open-ILS/src/templates/opac/parts/js.tt2
index e6ec184..6135a23 100644
--- a/Open-ILS/src/templates/opac/parts/js.tt2
+++ b/Open-ILS/src/templates/opac/parts/js.tt2
@@ -133,7 +133,7 @@ var aou_hash = {
return false;
}
function validateHoldForm() {
- if (validateRadioSelection (document.forms["PlaceHold"]["part"]))
+ if (validateRadioSelection (document.getElementsByName("part")))
{
return true;
}
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/templates/opac/parts/js.tt2 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list