diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2013-11-07 17:02:43 +0400 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-11-07 17:02:43 +0400 |
commit | 3e916a9f1db72696681415797adad49db19b538b (patch) | |
tree | afd828600e6263859d42f0cc4c8522a645400e14 | |
parent | 0b1749e5813ad6f69c9827c26845dfdbbe35aba1 (diff) | |
parent | bdc75e497b60bdd1cd3fa8eb323722b08a784674 (diff) |
Merge pull request #5737 from owncloud/files-totaldirsnotfoundfix
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(); } |