From: Bill Erickson Date: Mon, 2 Apr 2012 17:18:17 +0000 (-0400) Subject: Revert "Repaired non-slim org unit fetching bug" X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a9444ce7b7708e2bcf667855effa7e8ef07961dd;p=evergreen%2Ftadl.git Revert "Repaired non-slim org unit fetching bug" This reverts commit 706f1e86f0b9e4b5423b1b355bd30db422316068. Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js b/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js index 87582d3084..8a1000c5ce 100644 --- a/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js +++ b/Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js @@ -56,7 +56,7 @@ if(!dojo._hasResource["fieldmapper.OrgUtils"]){ if(!(o && o.id)) { throw new Error("fieldmapper.aou.LoadOrg(): No org unit found with ID " + id); } - o.children(slim_o.org.children()); + o.children = fieldmapper.aou.OrgCache[o.id()].children; fieldmapper.aou.OrgCache[o.id()] = { loaded : true, org : o }; return o; };