From 168379db72c32c44d6f5480eac66770304fb042c Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 13 Jan 2009 20:07:46 +0000 Subject: [PATCH] getPermOrgList will collect the descendants for us now git-svn-id: svn://svn.open-ils.org/ILS/trunk@11818 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/User.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Open-ILS/web/js/dojo/openils/User.js b/Open-ILS/web/js/dojo/openils/User.js index 1c8e34d697..284ba312c0 100644 --- a/Open-ILS/web/js/dojo/openils/User.js +++ b/Open-ILS/web/js/dojo/openils/User.js @@ -278,12 +278,7 @@ if(!dojo._hasResource["openils.User"]) { } function buildTreePicker(orgList) { - var orgNodeList = []; - for(var i = 0; i < orgList.length; i++) - orgNodeList = orgNodeList.concat( - fieldmapper.aou.descendantNodeList(orgList[i])); - - var store = new dojo.data.ItemFileReadStore({data:aou.toStoreData(orgNodeList)}); + var store = new dojo.data.ItemFileReadStore({data:aou.toStoreData(orgList)}); hookupStore(store); _u.permOrgStoreCache[perm] = store; } -- 2.11.0