Skip to content
Snippets Groups Projects
Commit 0757f87d authored by Björn Schießle's avatar Björn Schießle
Browse files

Merge pull request #7872 from owncloud/trash-disablestoragestats

Do not retrieve storage stats for trash bin
parents e806b6d9 f3d6b2f3
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment