[open-ils-commits] [GIT] Evergreen ILS branch master updated. 7dbe75cc1bde68590b1a9c9a34ec879cf438572b

Evergreen Git git at git.evergreen-ils.org
Thu Jun 16 11:36:47 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  7dbe75cc1bde68590b1a9c9a34ec879cf438572b (commit)
      from  0870039fa2f6bf1e3b72a098254a7187e129fc1c (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 7dbe75cc1bde68590b1a9c9a34ec879cf438572b
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Thu Jun 16 07:15:27 2011 -0400

    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 <tsbere at mvlc.org>
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>

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
--- 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

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/web/opac/skin/default/js/holds.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list