Skip to content

Commit

Permalink
Added the reset of the files to upload after the send succeded
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Jun 8, 2011
1 parent ba71aa1 commit fd22a59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Demos/files.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

print_r($_FILES);

print_r($_POST);
print_r($_POST);

1 change: 1 addition & 0 deletions Source/Form.Upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Form.Upload = new Class({
onComplete: function(){
progress.setStyle('width', '100%');
self.fireEvent('complete', arguments);
this.formData = new FormData();
}
}),

Expand Down

0 comments on commit fd22a59

Please sign in to comment.