Skip to content
Snippets Groups Projects
Commit ca243f3f authored by Björn Schießle's avatar Björn Schießle
Browse files

Merge pull request #1521 from schiesbn/label_fixed

don't call the delete button unshare, unshare operation no longer available
parents 5a152219 c72537cd
No related branches found
No related tags found
No related merge requests found
......@@ -112,10 +112,7 @@ var FileActions = {
if (img.call) {
img = img(file);
}
// NOTE: Temporary fix to allow unsharing of files in root of Shared folder
if ($('#dir').val() == '/Shared') {
var html = '<a href="#" original-title="' + t('files', 'Unshare') + '" class="action delete" />';
} else if (typeof trashBinApp !== 'undefined' && trashBinApp) {
if (typeof trashBinApp !== 'undefined' && trashBinApp) {
var html = '<a href="#" original-title="' + t('files', 'Delete permanently') + '" class="action delete" />';
} else {
var html = '<a href="#" original-title="' + t('files', 'Delete') + '" class="action delete" />';
......
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