Skip to content
Snippets Groups Projects
Commit f3d6b2f3 authored by Vincent Petry's avatar Vincent Petry
Browse files

Do not retrieve storage stats for trash bin

parent b92dad99
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