From: erickson Date: Sun, 27 Jul 2008 18:40:04 +0000 (+0000) Subject: show the org tree root in the copy details display if it can have items X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=980e71c409c14b2fe595835163441e9b90cbcdff;p=Evergreen.git show the org tree root in the copy details display if it can have items git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2_2@10153 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/skin/default/js/rdetail.js b/Open-ILS/web/opac/skin/default/js/rdetail.js index 5c7b45c8f6..85efafc66d 100644 --- a/Open-ILS/web/opac/skin/default/js/rdetail.js +++ b/Open-ILS/web/opac/skin/default/js/rdetail.js @@ -519,6 +519,10 @@ function _rdetailRows(node) { } } + if(!node && findOrgType(globalOrgTree.ou_type()).can_have_vols()) + node = globalOrgTree; + + /* don't show hidden orgs */ if(node) {