// Fix empty file list on add
This commit is contained in:
@@ -172,7 +172,7 @@
|
||||
$('#{$id}-add-button').on('click', function() {
|
||||
$('#{$id}-success').html('').parent().hide();
|
||||
$('#{$id}-errors').html('').parent().hide();
|
||||
$('#{$id}-files-list').html('').parent().hide();
|
||||
$('#{$id}-files-list').parent().hide();
|
||||
{$id}_total_files = 0;
|
||||
$('#{$id}').trigger('click');
|
||||
});
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
$('#{$id}-add-button').on('click', function() {
|
||||
$('#{$id}-success').html('').parent().hide();
|
||||
$('#{$id}-errors').html('').parent().hide();
|
||||
$('#{$id}-files-list').html('').parent().hide();
|
||||
$('#{$id}-files-list').parent().hide();
|
||||
{$id}_total_files = 0;
|
||||
$('#{$id}').trigger('click');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user