[open-ils-commits] r10155 - trunk/Open-ILS/web/opac/skin/default/js
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Jul 27 14:40:56 EDT 2008
Author: erickson
Date: 2008-07-27 14:40:48 -0400 (Sun, 27 Jul 2008)
New Revision: 10155
Modified:
trunk/Open-ILS/web/opac/skin/default/js/rdetail.js
Log:
show the org tree root in the copy details display if it can have items
Modified: trunk/Open-ILS/web/opac/skin/default/js/rdetail.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/rdetail.js 2008-07-27 18:40:42 UTC (rev 10154)
+++ trunk/Open-ILS/web/opac/skin/default/js/rdetail.js 2008-07-27 18:40:48 UTC (rev 10155)
@@ -520,6 +520,10 @@
}
}
+ if(!node && findOrgType(globalOrgTree.ou_type()).can_have_vols())
+ node = globalOrgTree;
+
+
/* don't show hidden orgs */
if(node) {
More information about the open-ils-commits
mailing list