remove obsolete code

This commit is contained in:
Jörn Friedrich Dreyer 2014-04-09 12:09:28 +02:00
parent fbb9e11a7e
commit 9b0f289143
1 changed files with 0 additions and 5 deletions

View File

@ -45,11 +45,6 @@ $(document).ready(function() {
});
FileActions.register('all', 'Share', OC.PERMISSION_READ, OC.imagePath('core', 'actions/share'), function(filename) {
var dir = $('#dir').val();
var item = dir + '/' + filename;
if (dir == '/') {
item = dir + filename;
}
var tr = FileList.findFileEl(filename);
var itemType = 'file';
if ($(tr).data('type') == 'dir') {