Author: andrei_exadel
Date: 2008-08-06 09:37:40 -0400 (Wed, 06 Aug 2008)
New Revision: 9951
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
RF-4100
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-08-06
13:09:24 UTC (rev 9950)
+++
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-08-06
13:37:40 UTC (rev 9951)
@@ -1012,7 +1012,7 @@
parentForm.encoding = "multipart/form-data";
parentForm.enctype = "multipart/form-data";
parentForm.target = this.id + "_iframe";//this.id;
- parentForm.action = this.actionUrl + (/\?/.test(this.actionUrl) ?
'&_richfaces_upload_uid' : '?_richfaces_upload_uid') + '=' +
encodeURI(entry.uid) + "&id=" + this.id +
"&_richfaces_upload_file_indicator=true";
+ parentForm.action = this.actionUrl + (/\?/.test(this.actionUrl) ?
'&_richfaces_upload_uid' : '?_richfaces_upload_uid') + '=' +
encodeURI(entry.uid) + "&id=" + this.id +
"&_richfaces_upload_file_indicator=true&AJAXREQUEST="+this.progressBar.containerId;
try {
var inputs = parentForm.elements;
@@ -1173,12 +1173,9 @@
},
_flashGetPostParams: function () {
- var query = new A4J.Query('', this.form);
+ var query = new A4J.Query(this.progressBar.containerId, this.form);
if (query) {
query.appendFormControls();
- if (query._query.AJAXREQUEST) {
- query._query.remove('AJAXREQUEST');
- }
return query.getQueryString();
}
return '';
Show replies by date