Do not retrieve storage stats for trash bin
This commit is contained in:
parent
b92dad992f
commit
f3d6b2f3e9
|
@ -25,6 +25,11 @@ $(document).ready(function() {
|
||||||
enableActions();
|
enableActions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Files.updateStorageStatistics = function() {
|
||||||
|
// no op because the trashbin doesn't have
|
||||||
|
// storage info like free space / used space
|
||||||
|
};
|
||||||
|
|
||||||
if (typeof FileActions !== 'undefined') {
|
if (typeof FileActions !== 'undefined') {
|
||||||
FileActions.register('all', 'Restore', OC.PERMISSION_READ, OC.imagePath('core', 'actions/history'), function(filename) {
|
FileActions.register('all', 'Restore', OC.PERMISSION_READ, OC.imagePath('core', 'actions/history'), function(filename) {
|
||||||
var tr = FileList.findFileEl(filename);
|
var tr = FileList.findFileEl(filename);
|
||||||
|
|
Loading…
Reference in New Issue