summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-08-19 13:45:31 +0000
committerctrlaltca@gmail.com <>2011-08-19 13:45:31 +0000
commit6b178ae4c555c0b00609154fcbabedb845151438 (patch)
treec2853b43a6f5b3b3491539116b399e6f9575bace /framework/Web/Javascripts
parent03969d7d5ed93d02afce25d0a4b32a9008e030ef (diff)
small fix related to #301
Diffstat (limited to 'framework/Web/Javascripts')
-rwxr-xr-xframework/Web/Javascripts/source/prado/activefileupload/activefileupload.js2
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 547797a2..443d9dd0 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 += (this.form.action.indexOf('?')>0 ? '&' : '?')+'TActiveFileUpload_InputId='+this.options.inputID+'&TActiveFileUpload_TargetId='+this.options.targetID;
+ this.form.action += (this.form.action.indexOf('?')!=-1 ? '&' : '?')+'TActiveFileUpload_InputId='+this.options.inputID+'&TActiveFileUpload_TargetId='+this.options.targetID;
this.form.target = this.options.targetID;
this.form.submit();
this.form.action = this.oldFormAction;