[open-ils-commits] r17398 - trunk/Open-ILS/web/js/dojo/fieldmapper (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Aug 30 23:52:55 EDT 2010
Author: erickson
Date: 2010-08-30 23:52:52 -0400 (Mon, 30 Aug 2010)
New Revision: 17398
Modified:
trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js
Log:
istanceOf is not of this world; use dojo.isArray instead
Modified: trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js 2010-08-31 03:52:51 UTC (rev 17397)
+++ trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js 2010-08-31 03:52:52 UTC (rev 17398)
@@ -53,7 +53,7 @@
obj.a[i] = thing.clone();
} else {
- if(instanceOf(thing, Array)) {
+ if(dojo.isArray(thing)) {
obj.a[i] = new Array();
for( var j in thing ) {
More information about the open-ils-commits
mailing list