cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From coli...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript xmlForm.js
Date Tue, 18 Mar 2003 18:24:10 GMT
coliver     2003/03/18 10:24:10

  Modified:    src/java/org/apache/cocoon/components/flow/javascript
                        xmlForm.js
  Log:
  fixed arg copying
  
  Revision  Changes    Path
  1.3       +3 -3      cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/xmlForm.js
  
  Index: xmlForm.js
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/xmlForm.js,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- xmlForm.js	17 Mar 2003 04:28:47 -0000	1.2
  +++ xmlForm.js	18 Mar 2003 18:24:10 -0000	1.3
  @@ -273,10 +273,10 @@
       } 
       // Just start a new instance of the application
       cocoon.session.removeAttribute(id);
  -    var args = new Array(arguments.length - 4 + 1);
  +    var args = new Array(arguments.length - 5 + 1);
       args[0] = new XForm(id, validator_ns, validator_doc, scope);
  -    for (var i = 4; i < arguments.length; i++) {
  -	args[i-3] = arguments[i];
  +    for (var i = 5; i < arguments.length; i++) {
  +	args[i-4] = arguments[i];
       }
       this[application].apply(this, args);
   }
  
  
  

Mime
View raw message