Commit f3d6b2f3 authored by Vincent Petry's avatar Vincent Petry
Browse files

Do not retrieve storage stats for trash bin

parent b92dad99
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment