istanceOf is not of this world; use dojo.isArray instead
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 31 Aug 2010 03:52:52 +0000 (03:52 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 31 Aug 2010 03:52:52 +0000 (03:52 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17398 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js

index 9471b81..5ef69d7 100644 (file)
@@ -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 ) {