can't call .splice on the arguments object, found some JS voodoo to do the same thing
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 May 2008 16:13:09 +0000 (16:13 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 May 2008 16:13:09 +0000 (16:13 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9511 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index c6bc24e..093fca2 100644 (file)
@@ -92,7 +92,7 @@ if(!dojo._hasResource["fieldmapper.Fieldmapper"]){
                        if (dojo.isObject(params)) {
                                args = params;
                        } else {
-                               args.params = arguments.splice(1, arguments.length - 1);
+                args.params = [].splice.call(arguments, 1, arguments.length - 1);
                        }
 
                }