diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index 7414c1f339..deec640bc1 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -91,7 +91,11 @@ FileActions={
if(img.call){
img=img(file);
}
- var html='';
+ if ($('#dir').val().indexOf('Shared') != -1) {
+ var html='';
+ } else {
+ var html='';
+ }
var element=$(html);
if(img){
element.append($(''));