[open-ils-commits] r9511 - trunk/Open-ILS/web/js/dojo/fieldmapper
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue May 6 12:13:11 EDT 2008
Author: erickson
Date: 2008-05-06 12:13:09 -0400 (Tue, 06 May 2008)
New Revision: 9511
Modified:
trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js
Log:
can't call .splice on the arguments object, found some JS voodoo to do the same thing
Modified: trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js 2008-05-06 01:43:40 UTC (rev 9510)
+++ trunk/Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js 2008-05-06 16:13:09 UTC (rev 9511)
@@ -92,7 +92,7 @@
if (dojo.isObject(params)) {
args = params;
} else {
- args.params = arguments.splice(1, arguments.length - 1);
+ args.params = [].splice.call(arguments, 1, arguments.length - 1);
}
}
More information about the open-ils-commits
mailing list