[open-ils-commits] r12112 - trunk/Open-ILS/web/js/dojo/openils/widget (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Feb 8 22:34:14 EST 2009
Author: miker
Date: 2009-02-08 22:34:12 -0500 (Sun, 08 Feb 2009)
New Revision: 12112
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/FilteringTreeSelect.js
Log:
IE does not yet support Array.forEach ... so we fake it with dojo
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/FilteringTreeSelect.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/FilteringTreeSelect.js 2009-02-09 01:05:05 UTC (rev 12111)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/FilteringTreeSelect.js 2009-02-09 03:34:12 UTC (rev 12112)
@@ -36,7 +36,7 @@
if(!dojo.isArray(this.tree)) this.tree = [this.tree];
this.dataList = [];
var self = this;
- this.tree.forEach(function(node) { self._makeNodeList(node); });
+ dojo.forEach(this.tree, function(node) { self._makeNodeList(node); });
this.store = new dojo.data.ItemFileReadStore(
{data:fieldmapper[this.dataList[0].classname].toStoreData(this.dataList)});
this.inherited(arguments);
More information about the open-ils-commits
mailing list