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

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Mar 8 14:18:20 EDT 2009


Author: miker
Date: 2009-03-08 14:18:16 -0400 (Sun, 08 Mar 2009)
New Revision: 12470

Modified:
   trunk/Open-ILS/web/opac/skin/default/js/rdetail.js
Log:
we need to test in the other direction, descendency

Modified: trunk/Open-ILS/web/opac/skin/default/js/rdetail.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/rdetail.js	2009-03-08 17:32:15 UTC (rev 12469)
+++ trunk/Open-ILS/web/opac/skin/default/js/rdetail.js	2009-03-08 18:18:16 UTC (rev 12470)
@@ -550,7 +550,7 @@
 		var loc = findOrgUnit(getLocation());
 
 		if( node ) {
-			if( !orgIsMine(loc, node) ) return;
+			if( !orgIsMine(node, loc) ) return;
 
 		} else {
 



More information about the open-ils-commits mailing list