[richfaces-svn-commits] JBoss Rich Faces SVN: r9206 - trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Wed Jun 25 03:39:46 EDT 2008
Author: andrei_exadel
Date: 2008-06-25 03:39:46 -0400 (Wed, 25 Jun 2008)
New Revision: 9206
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
change parameters names
Modified: trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
--- trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-06-25 07:38:17 UTC (rev 9205)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-06-25 07:39:46 UTC (rev 9206)
@@ -639,7 +639,7 @@
if (this.events.onadd) {
var filesArray = [];
filesArray.push(newEntry);
- this.element.fire("rich:onadd", { files : filesArray });
+ this.element.fire("rich:onadd", { entries : filesArray });
}
if (this.runUpload) {
@@ -1121,7 +1121,7 @@
}
if (this.events.onadd) {
- this.element.fire("rich:onadd", { files : filesArray });
+ this.element.fire("rich:onadd", { entries : filesArray });
}
if (this.runUpload) {
More information about the richfaces-svn-commits
mailing list