don't call the delete button unshare, unshare operation no longer available
This commit is contained in:
parent
35bd7a400d
commit
c72537cd85
|
@ -112,10 +112,7 @@ var FileActions = {
|
||||||
if (img.call) {
|
if (img.call) {
|
||||||
img = img(file);
|
img = img(file);
|
||||||
}
|
}
|
||||||
// NOTE: Temporary fix to allow unsharing of files in root of Shared folder
|
if (typeof trashBinApp !== 'undefined' && trashBinApp) {
|
||||||
if ($('#dir').val() == '/Shared') {
|
|
||||||
var html = '<a href="#" original-title="' + t('files', 'Unshare') + '" class="action delete" />';
|
|
||||||
} else if (typeof trashBinApp !== 'undefined' && trashBinApp) {
|
|
||||||
var html = '<a href="#" original-title="' + t('files', 'Delete permanently') + '" class="action delete" />';
|
var html = '<a href="#" original-title="' + t('files', 'Delete permanently') + '" class="action delete" />';
|
||||||
} else {
|
} else {
|
||||||
var html = '<a href="#" original-title="' + t('files', 'Delete') + '" class="action delete" />';
|
var html = '<a href="#" original-title="' + t('files', 'Delete') + '" class="action delete" />';
|
||||||
|
|
Loading…
Reference in New Issue