Merge pull request #7872 from owncloud/trash-disablestoragestats

Do not retrieve storage stats for trash bin
remotes/origin/ldap_group_count
Björn Schießle 13 years ago
commit 0757f87dba
  1. 5
      apps/files_trashbin/js/trash.js

@ -25,6 +25,11 @@ $(document).ready(function() {
enableActions();
}
Files.updateStorageStatistics = function() {
// no op because the trashbin doesn't have
// storage info like free space / used space
};
if (typeof FileActions !== 'undefined') {
FileActions.register('all', 'Restore', OC.PERMISSION_READ, OC.imagePath('core', 'actions/history'), function(filename) {
var tr = FileList.findFileEl(filename);

Loading…
Cancel
Save