Merge pull request #1521 from schiesbn/label_fixed

don't call the delete button unshare, unshare operation no longer available
This commit is contained in:
Björn Schießle 2013-02-09 03:14:25 -08:00
Родитель 5a15221910 c72537cd85
Коммит ca243f3fac
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -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" />';