projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f36015d
)
LP#1422802 Fix javascript validation for visible parts
user/kmlussier/lp1422802-visible-parts-fix
author
Kathy Lussier
<klussier@masslnc.org>
Thu, 25 Feb 2016 17:26:02 +0000
(12:26 -0500)
committer
Kathy Lussier
<klussier@masslnc.org>
Thu, 25 Feb 2016 17:26:02 +0000
(12:26 -0500)
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@masslnc.org>
Open-ILS/src/templates/opac/parts/js.tt2
patch
|
blob
|
history
diff --git
a/Open-ILS/src/templates/opac/parts/js.tt2
b/Open-ILS/src/templates/opac/parts/js.tt2
index
e6ec184
..
6135a23
100644
(file)
--- 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;
}