From 54c73aa167ba63285e55b1f0e7a55a1302746d81 Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 31 Aug 2010 03:52:52 +0000 Subject: [PATCH] istanceOf is not of this world; use dojo.isArray instead git-svn-id: svn://svn.open-ils.org/ILS/trunk@17398 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js b/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js index 9471b8125..5ef69d750 100644 --- a/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js +++ b/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js @@ -53,7 +53,7 @@ if(!dojo._hasResource["fieldmapper.Fieldmapper"]){ obj.a[i] = thing.clone(); } else { - if(instanceOf(thing, Array)) { + if(dojo.isArray(thing)) { obj.a[i] = new Array(); for( var j in thing ) { -- 2.11.0