From 4b3c3bd8d1517f6d38d5b3309e1327b39765efc5 Mon Sep 17 00:00:00 2001 From: erickson Date: Sun, 27 Jul 2008 18:40:42 +0000 Subject: [PATCH] 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@10154 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/js/rdetail.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Open-ILS/web/opac/skin/default/js/rdetail.js b/Open-ILS/web/opac/skin/default/js/rdetail.js index 5933096862..e37d61a6d3 100644 --- a/Open-ILS/web/opac/skin/default/js/rdetail.js +++ b/Open-ILS/web/opac/skin/default/js/rdetail.js @@ -520,6 +520,10 @@ function _rdetailRows(node) { } } + if(!node && findOrgType(globalOrgTree.ou_type()).can_have_vols()) + node = globalOrgTree; + + /* don't show hidden orgs */ if(node) { -- 2.11.0