aboutsummaryrefslogtreecommitdiffstats
path: root/files/js/files.js
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-07-30 14:42:58 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-07-30 14:44:22 +0200
commit78d41a03e074c708d5f6082fd299bdbb3d545f73 (patch)
tree1e654bcb63184f7c937699024d64c79b31dc88b0 /files/js/files.js
parent95ec75b919f58fb55e561789d8a54d59312c7e19 (diff)
downloadnextcloud-server-78d41a03e074c708d5f6082fd299bdbb3d545f73.tar.gz
nextcloud-server-78d41a03e074c708d5f6082fd299bdbb3d545f73.zip
automatically hide show/hide the empty folder message
Diffstat (limited to 'files/js/files.js')
-rw-r--r--files/js/files.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/files/js/files.js b/files/js/files.js
index d3f91fe9a2f..7005502d942 100644
--- a/files/js/files.js
+++ b/files/js/files.js
@@ -1,4 +1,8 @@
$(document).ready(function() {
+ if($('tr[data-file]').length==0){
+ $('.file_upload_filename').addClass('highlight');
+ }
+
$('#file_action_panel').attr('activeAction', false);
//drag/drop of files