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:
b426820
)
Check if in staff client when placing holds
user/tsbere@mvlc.org/staff_hold_anywhere
author
Thomas Berezansky
<tsbere@mvlc.org>
Thu, 16 Jun 2011 11:15:27 +0000
(07:15 -0400)
committer
Thomas Berezansky
<tsbere@mvlc.org>
Thu, 16 Jun 2011 11:15:27 +0000
(07:15 -0400)
Staff may have valid reasons to use a non-opac-visible org unit.
So before bailing on a hidden org unit, check if we are in the staff client.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/web/opac/skin/default/js/holds.js
patch
|
blob
|
history
diff --git
a/Open-ILS/web/opac/skin/default/js/holds.js
b/Open-ILS/web/opac/skin/default/js/holds.js
index
aaf7a2e
..
9e95da9
100644
(file)
--- a/
Open-ILS/web/opac/skin/default/js/holds.js
+++ b/
Open-ILS/web/opac/skin/default/js/holds.js
@@
-878,7
+878,7
@@
function holdsCheckPossibility(pickuplib, hold, recurse) {
function holdsBuildOrgSelector(node) {
if(!node) node = globalOrgTree;
- if(!isTrue(node.opac_visible())) return;
+ if(!isTrue(node.opac_visible())
&& !isXUL()
) return;
var render_this_org = true;
var orgHiding = checkOrgHiding(); // value here is cached so not too painful with the recursion