diff --git a/files/js/files.js b/files/js/files.js
index 3ab09251f6f85bf9e20e782eae8a9cec23e6c047..40857fb03d607b73bde2de283306931185b37d23 100644
--- a/files/js/files.js
+++ b/files/js/files.js
@@ -95,9 +95,10 @@ $(document).ready(function() {
 	});
 	
 	$('#file_upload_cancel').click(function() {
+		$('#file_upload_form')[0].reset();
 		$('#file_upload_start').val('Upload ' + $('.max_human_file_size:first').val());
 		$('#file_upload_start').attr('mode', 'menu');
-		$('#file_upload_cancel').hide;
+		$('#file_upload_cancel').hide();
 // 		$('#file_action_panel').attr('activeAction', 'false');
 // 		$('#file_upload_form').hide();
 // 		$('p.actions a.upload:first').show();