summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-10-31 08:08:04 -0700
committerMorris Jobke <morris.jobke@gmail.com>2013-10-31 08:08:04 -0700
commitbe07e828ef67f7cc5ac576c9ebaea83693825c34 (patch)
tree80c0b70b6eedcf9035ae6ab9a6917f9a0c7c0b28 /apps/files
parentadb5de4a888c01863b58cd50bd21ab2d4d17cace (diff)
parent1be1c57bc8e65c6a83f087c217893712c2a61838 (diff)
downloadnextcloud-server-be07e828ef67f7cc5ac576c9ebaea83693825c34.tar.gz
nextcloud-server-be07e828ef67f7cc5ac576c9ebaea83693825c34.zip
Merge pull request #5648 from owncloud/files-fixhidecontrolsinviewermode
Corretly hide "no permissions" message in controls in viewer mode
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/filelist.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 02dfa16a224..e935ce7d5d3 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -264,6 +264,9 @@ var FileList={
$('.creatable').toggleClass('hidden', !isCreatable);
$('.notCreatable').toggleClass('hidden', isCreatable);
}
+ else{
+ $('.creatable, .notCreatable').addClass('hidden');
+ }
},
/**
* Enables/disables viewer mode.