From: erickson Date: Tue, 31 Aug 2010 03:52:52 +0000 (+0000) Subject: istanceOf is not of this world; use dojo.isArray instead X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=54c73aa167ba63285e55b1f0e7a55a1302746d81;p=evergreen%2Fbjwebb.git 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 --- 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 ) {