mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 16:50:55 -04:00
only show actions for selected file if there are selected files
This commit is contained in:
parent
bc40532109
commit
aa335f57d6
1 changed files with 2 additions and 0 deletions
|
|
@ -293,7 +293,9 @@ function procesSelection(){
|
|||
if(selectedFiles.length==0 && selectedFolders.length==0){
|
||||
$('#headerName>span.name').text('Name');
|
||||
$('#headerSize').text('Size (MB)');
|
||||
$('#selectedActions').hide();
|
||||
}else{
|
||||
$('#selectedActions').show();
|
||||
var totalSize=0;
|
||||
selectedFiles.each(function(){
|
||||
totalSize+=parseInt($(this).attr('data-size'));
|
||||
|
|
|
|||
Loading…
Reference in a new issue