summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Javascripts')
-rwxr-xr-xframework/Web/Javascripts/source/prado/activefileupload/activefileupload.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/Web/Javascripts/source/prado/activefileupload/activefileupload.js b/framework/Web/Javascripts/source/prado/activefileupload/activefileupload.js
index 251a3d35..f42a0673 100755
--- a/framework/Web/Javascripts/source/prado/activefileupload/activefileupload.js
+++ b/framework/Web/Javascripts/source/prado/activefileupload/activefileupload.js
@@ -37,8 +37,11 @@ Prado.WebUI.TActiveFileUpload = Base.extend(
// set the form to submit in the iframe, submit it, and then reset it.
this.oldtargetID = this.form.target;
+ this.oldFormAction = this.form.action;
+ this.form.action += '?TActiveFileUpload_InputId='+this.options.inputID+'&TActiveFileUpload_TargetId='+this.options.targetID;
this.form.target = this.options.targetID;
this.form.submit();
+ this.form.action = this.oldFormAction;
this.form.target = this.oldtargetID;
},