diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-10-31 12:31:40 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-10-31 12:34:15 +0100 |
commit | 1be1c57bc8e65c6a83f087c217893712c2a61838 (patch) | |
tree | e102a209229a5baf5d7729564ccd0f25fb0fa84b /apps | |
parent | 8f50d7680b0cb280a545685d26873a6c3d428aa3 (diff) | |
download | nextcloud-server-1be1c57bc8e65c6a83f087c217893712c2a61838.tar.gz nextcloud-server-1be1c57bc8e65c6a83f087c217893712c2a61838.zip |
Corretly hide "no permissions" message in controls in viewer mode
Fixes #5622
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/filelist.js | 3 |
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. |