Merge pull request #7872 from owncloud/trash-disablestoragestats

Do not retrieve storage stats for trash bin
This commit is contained in:
Björn Schießle 2014-03-28 11:22:19 +01:00
commit 0757f87dba
1 changed files with 5 additions and 0 deletions

View File

@ -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);