we need to test in the other direction, descendency
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 8 Mar 2009 18:18:16 +0000 (18:18 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 8 Mar 2009 18:18:16 +0000 (18:18 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@12470 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index b78c21c..a8b3293 100644 (file)
@@ -550,7 +550,7 @@ function _rdetailRows(node) {
                var loc = findOrgUnit(getLocation());
 
                if( node ) {
-                       if( !orgIsMine(loc, node) ) return;
+                       if( !orgIsMine(node, loc) ) return;
 
                } else {