diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-11-07 10:11:18 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-11-07 10:11:18 +0100 |
commit | bdc75e497b60bdd1cd3fa8eb323722b08a784674 (patch) | |
tree | 28b2aa117d5257018bbf329211aae64e5116f704 | |
parent | 263603aa4cf6747460c13443c400f53d90a31bf1 (diff) | |
download | nextcloud-server-bdc75e497b60bdd1cd3fa8eb323722b08a784674.tar.gz nextcloud-server-bdc75e497b60bdd1cd3fa8eb323722b08a784674.zip |
Fixed totalDirs JS error
-rw-r--r-- | apps/files/js/filelist.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index f11cba6230b..24a7fd2ee47 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -600,11 +600,11 @@ var FileList={ var $connector = $summary.find('.connector'); // Show only what's necessary, e.g.: no files: don't show "0 files" - if (totalDirs === 0) { + if (summary.totalDirs === 0) { $dirInfo.hide(); $connector.hide(); } - if (totalFiles === 0) { + if (summary.totalFiles === 0) { $fileInfo.hide(); $connector.hide(); } |