only show actions for selected file if there are selected files

remotes/origin/stable
Robin Appelman 14 years ago
parent bc40532109
commit aa335f57d6
  1. 2
      files/js/files.js

@ -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…
Cancel
Save