summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-10-11 07:53:51 +0000
committerctrlaltca@gmail.com <>2011-10-11 07:53:51 +0000
commit1b237f5c0a50fc3e986ec52fa6771eec0c7c351c (patch)
tree5bc58919ac7a1726db6faecc401b71201bc4850b /framework/Web/Javascripts
parenta2ffee815dfbd9648629c52bff5be62f266e4c34 (diff)
TActiveFileUpload: fix when 2 TActiveFileUpload are present in the same page and one of them in inside 2 (o more) nested templates (refs #90)
Diffstat (limited to 'framework/Web/Javascripts')
-rwxr-xr-xframework/Web/Javascripts/source/prado/activefileupload/activefileupload.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/framework/Web/Javascripts/source/prado/activefileupload/activefileupload.js b/framework/Web/Javascripts/source/prado/activefileupload/activefileupload.js
index 443d9dd0..e25b5bed 100755
--- a/framework/Web/Javascripts/source/prado/activefileupload/activefileupload.js
+++ b/framework/Web/Javascripts/source/prado/activefileupload/activefileupload.js
@@ -15,13 +15,6 @@ Prado.WebUI.TActiveFileUpload = Base.extend(
Prado.Registry.set(options.inputID, this);
- var tempfield = document.createElement('input');
- tempfield.id = "tempActiveUploadField";
- tempfield.name = "tempActiveUploadField";
- tempfield.value = this.options.targetID;
- tempfield.type = "hidden";
- this.form.appendChild(tempfield);
-
// set up events
if (options.autoPostBack){
Event.observe(this.input,"change",this.fileChanged.bind(this));