findOrgType lives in the fieldmapper.aout namespace
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 21 Apr 2008 17:31:06 +0000 (17:31 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 21 Apr 2008 17:31:06 +0000 (17:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9399 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js

index d29313b..2a68b55 100644 (file)
@@ -108,7 +108,7 @@ if(!dojo._hasResource["fieldmapper.OrgUtils"]){
                if (!id) return null;
 
                var org = fieldmapper.aou.findOrgUnit(id);
-               return fieldmapper.findOrgType(
+               return fieldmapper.aout.findOrgType(
                        fieldmapper.aou.findOrgUnit(id).ou_type()
                ).depth;
        }