[open-ils-commits] r10154 - branches/rel_1_2/Open-ILS/web/opac/skin/default/js

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Jul 27 14:40:50 EDT 2008


Author: erickson
Date: 2008-07-27 14:40:42 -0400 (Sun, 27 Jul 2008)
New Revision: 10154

Modified:
   branches/rel_1_2/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: branches/rel_1_2/Open-ILS/web/opac/skin/default/js/rdetail.js
===================================================================
--- branches/rel_1_2/Open-ILS/web/opac/skin/default/js/rdetail.js	2008-07-27 18:40:04 UTC (rev 10153)
+++ branches/rel_1_2/Open-ILS/web/opac/skin/default/js/rdetail.js	2008-07-27 18:40:42 UTC (rev 10154)
@@ -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