diff options
author | rojaro <> | 2011-05-02 08:14:26 +0000 |
---|---|---|
committer | rojaro <> | 2011-05-02 08:14:26 +0000 |
commit | 8e2d30abe10ab3cfaa2ee4773e79d70f38e57493 (patch) | |
tree | 66de124f5a781aaf01bb2fc5b6b92351d8e89a25 /framework/Web | |
parent | d1bfbc7a7e30f3a9e31d0c8995fb712305204fbd (diff) |
properly fixed #301
Diffstat (limited to 'framework/Web')
-rwxr-xr-x | framework/Web/Javascripts/source/prado/activefileupload/activefileupload.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/source/prado/activefileupload/activefileupload.js b/framework/Web/Javascripts/source/prado/activefileupload/activefileupload.js index 69c673b8..547797a2 100755 --- a/framework/Web/Javascripts/source/prado/activefileupload/activefileupload.js +++ b/framework/Web/Javascripts/source/prado/activefileupload/activefileupload.js @@ -38,7 +38,7 @@ 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.action += (this.form.action.indexOf('?')>0 ? '&' : '?')+'TActiveFileUpload_InputId='+this.options.inputID+'&TActiveFileUpload_TargetId='+this.options.targetID; this.form.target = this.options.targetID; this.form.submit(); this.form.action = this.oldFormAction; |