show the org tree root in the copy details display if it can have items
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 27 Jul 2008 18:40:48 +0000 (18:40 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 27 Jul 2008 18:40:48 +0000 (18:40 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10155 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/rdetail.js

index 63306b1..58999e5 100644 (file)
@@ -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) {