don't upload canceled files
This commit is contained in:
parent
07c6c7f4fa
commit
ef25b32856
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue