From 7dbe75cc1bde68590b1a9c9a34ec879cf438572b Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Thu, 16 Jun 2011 07:15:27 -0400 Subject: [PATCH] Check if in staff client when placing holds 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 Signed-off-by: Jason Etheridge --- Open-ILS/web/opac/skin/default/js/holds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/opac/skin/default/js/holds.js b/Open-ILS/web/opac/skin/default/js/holds.js index aaf7a2e4e9..9e95da9d4a 100644 --- 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 -- 2.43.2