aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/fileactions.js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-02-09 17:28:30 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2013-02-09 17:28:30 +0100
commitd67d9566ce37e63c4df62d1f57fb03540421895c (patch)
tree5b6d5d0002f962f04c4706b3a722991a8e68c6ab /apps/files/js/fileactions.js
parent9dddcae9ca3dcf872893e36e2f478ebecafdc6e2 (diff)
parent5a309c11ca90589303c38084795432d3d23e393d (diff)
downloadnextcloud-server-d67d9566ce37e63c4df62d1f57fb03540421895c.tar.gz
nextcloud-server-d67d9566ce37e63c4df62d1f57fb03540421895c.zip
Merge branch 'master' into clean-app-id
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r--apps/files/js/fileactions.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index af3fc483910..e1d8b60d315 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -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" />';