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) {
Show replies by date