[open-ils-commits] r12943 - trunk/Open-ILS/web/opac/skin/default/js (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Apr 21 12:23:19 EDT 2009


Author: miker
Date: 2009-04-21 12:23:16 -0400 (Tue, 21 Apr 2009)
New Revision: 12943

Modified:
   trunk/Open-ILS/web/opac/skin/default/js/rdetail.js
Log:
Patch from James Fournie fixing regression of copy display in deep hierarchies which was introduced by a partial fixed in r12470

Modified: trunk/Open-ILS/web/opac/skin/default/js/rdetail.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/rdetail.js	2009-04-21 16:08:48 UTC (rev 12942)
+++ trunk/Open-ILS/web/opac/skin/default/js/rdetail.js	2009-04-21 16:23:16 UTC (rev 12943)
@@ -546,7 +546,7 @@
 	if( rdetailShowLocal && getLocation() != globalOrgTree.id() ) {
 		var loc = findOrgUnit(getLocation());
 		if( node ) {
-			if( !orgIsMine(node, loc) ) return;
+			if( !orgIsMine(node, loc) && !orgIsMine(loc,node) ) return;
 		} else {
 			for( var i = 0; i < globalOrgTree.children().length; i++ ) {
 				var org = findOrgUnit(globalOrgTree.children()[i]);



More information about the open-ils-commits mailing list