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

Merge pull request #8126 from owncloud/remove_obsolete_code_in_sharing_js

remove obsolete code
parents 9feebeaf 9b0f2891
No related branches found
No related tags found
No related merge requests found
......@@ -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') {
......
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