Permalink
Browse files

Added the reset of the files to upload after the send succeded

  • Loading branch information...
1 parent ba71aa1 commit fd22a59616f5566e9374961ae9731da4daa76d47 unknown committed Jun 8, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −1 Demos/files.php
  2. +1 −0 Source/Form.Upload.js
View
@@ -4,5 +4,5 @@
print_r($_FILES);
-print_r($_POST);
+print_r($_POST);
View
@@ -69,6 +69,7 @@ Form.Upload = new Class({
onComplete: function(){
progress.setStyle('width', '100%');
self.fireEvent('complete', arguments);
+ this.formData = new FormData();
}
}),

0 comments on commit fd22a59

Please sign in to comment.