[open-ils-commits] r9656 -
branches/acq-experiment/Open-ILS/web/js/dojo/openils/acq
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed May 21 13:31:07 EDT 2008
Author: djfiander
Date: 2008-05-21 13:31:05 -0400 (Wed, 21 May 2008)
New Revision: 9656
Modified:
branches/acq-experiment/Open-ILS/web/js/dojo/openils/acq/Fund.js
Log:
Minor fix to properly build lists of fund ids and names
Modified: branches/acq-experiment/Open-ILS/web/js/dojo/openils/acq/Fund.js
===================================================================
--- branches/acq-experiment/Open-ILS/web/js/dojo/openils/acq/Fund.js 2008-05-21 16:46:49 UTC (rev 9655)
+++ branches/acq-experiment/Open-ILS/web/js/dojo/openils/acq/Fund.js 2008-05-21 17:31:05 UTC (rev 9656)
@@ -148,8 +148,9 @@
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);
}
};
More information about the open-ils-commits
mailing list