From 8409674c641812786fb0ca35372850558a4f27da Mon Sep 17 00:00:00 2001 From: djfiander Date: Wed, 21 May 2008 17:31:05 +0000 Subject: [PATCH] Minor fix to properly build lists of fund ids and names git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@9656 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/acq/Fund.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/js/dojo/openils/acq/Fund.js b/Open-ILS/web/js/dojo/openils/acq/Fund.js index 4273e23997..60bb5807d9 100644 --- a/Open-ILS/web/js/dojo/openils/acq/Fund.js +++ b/Open-ILS/web/js/dojo/openils/acq/Fund.js @@ -148,8 +148,9 @@ openils.acq.Fund.nameMapping = function(oncomplete) { var names = []; var buildMap = function() { for (var i in openils.acq.Fund.cache) { - ids.push(i.id()); - names.push(i.name()); + var item = openils.acq.Fund.cache[i]; + ids.push(item.id()); + names.push(item.name()); oncomplete(ids, names); } }; -- 2.11.0