handles no-group-app-perms more gracefully
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Aug 2006 01:42:48 +0000 (01:42 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 3 Aug 2006 01:42:48 +0000 (01:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5235 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/ue_ui.js

index 3b2e462..85afc6f 100644 (file)
@@ -137,6 +137,7 @@ function uEditDrawGroups(tree, depth, selector) {
 
 
 function uEditFindGroupPerm(group) {
+       if(!group) return null;
        if( group.application_perm() ) 
                return group.application_perm();
        return uEditFindGroupPerm(groupsCache[group.parent()]);