From a9444ce7b7708e2bcf667855effa7e8ef07961dd Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 2 Apr 2012 13:18:17 -0400 Subject: [PATCH] Revert "Repaired non-slim org unit fetching bug" This reverts commit 706f1e86f0b9e4b5423b1b355bd30db422316068. Signed-off-by: Bill Erickson --- Open-ILS/web/js/dojo/fieldmapper/OrgUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.11.0