Author: andrei_exadel
Date: 2008-10-01 10:02:32 -0400 (Wed, 01 Oct 2008)
New Revision: 10643
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
RF-4472
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-10-01
13:35:11 UTC (rev 10642)
+++
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-10-01
14:02:32 UTC (rev 10643)
@@ -1222,7 +1222,14 @@
var query = new A4J.Query(this.progressBar.containerId, this.form);
if (query) {
query.appendFormControls();
- return query.getQueryString();
+ var qStr = query.getQueryString();
+ if (this.parameters) {
+ qStr = (/&$/.test(qStr)) ? qStr : qStr + "&";
+ for (var p in this.parameters) {
+ qStr = qStr + p + "=" + this.parameters[p] + "&";
+ }
+ }
+ return qStr;
}
return '';
},
Show replies by date