hah! didn't mean to commit with hard-coded test perm
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 20 Apr 2008 13:05:26 +0000 (13:05 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 20 Apr 2008 13:05:26 +0000 (13:05 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9392 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/User.js

index 31d4978..ba7fbb6 100644 (file)
@@ -138,7 +138,7 @@ if(!dojo._hasResource["openils.User"]) {
         fieldmapper.standardRequest(
             ['open-ils.actor', 'open-ils.actor.user.work_perm.org_unit_list'],
             {
-                params: [openils.User.authtoken, 'ADMIN_FUNDING_SOURCE'],
+                params: [openils.User.authtoken, perm],
                 oncomplete: buildTreePicker,
                 async: true
             }