From 0aa2de80a8970a57427ee43235acb7e25789fe86 Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 9 Feb 2009 03:34:12 +0000 Subject: [PATCH] IE does not yet support Array.forEach ... so we fake it with dojo git-svn-id: svn://svn.open-ils.org/ILS/trunk@12112 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/widget/FilteringTreeSelect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/dojo/openils/widget/FilteringTreeSelect.js b/Open-ILS/web/js/dojo/openils/widget/FilteringTreeSelect.js index 6c4e11f97d..3bbe94dbc2 100644 --- a/Open-ILS/web/js/dojo/openils/widget/FilteringTreeSelect.js +++ b/Open-ILS/web/js/dojo/openils/widget/FilteringTreeSelect.js @@ -36,7 +36,7 @@ if(!dojo._hasResource["openils.widget.FilteringTreeSelect"]){ 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); -- 2.11.0