fixed boolean test
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 23 Aug 2006 22:31:09 +0000 (22:31 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 23 Aug 2006 22:31:09 +0000 (22:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5649 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/admin/org_settings.js

index 56ff60d..da9c14c 100644 (file)
@@ -47,7 +47,7 @@ function osBuildOrgs() {
 
        var selector = $('os_orgs');
        buildOrgSel(selector, org, type.depth());
-       if(!type.can_have_users()) 
+       if(!isTrue(type.can_have_users())) 
                selector.options[0].disabled = true;
 
        selector.onchange = osDrawRange;