Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Unified Diff: chrome/browser/resources/file_manager/js/file_manager.js

Issue 8486003: Not showing folders in the bottom pannel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/file_manager.js
diff --git a/chrome/browser/resources/file_manager/js/file_manager.js b/chrome/browser/resources/file_manager/js/file_manager.js
index f5005e63a47f2daaf8a712e4c61ca810351b803a..bf96b4c506c8c508c10822ed51adb3aacab0421d 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -1753,7 +1753,7 @@ FileManager.prototype = {
selection.iconType = 'unknown';
}
- if (thumbnailCount < MAX_PREVIEW_THUMBAIL_COUNT) {
+ if (thumbnailCount < MAX_PREVIEW_THUMBAIL_COUNT && entry.isFile) {
var thumbnail = this.renderThumbnailBox_(entry, true);
thumbnail.style.zIndex = MAX_PREVIEW_THUMBAIL_COUNT + 1 - i;
this.previewThumbnails_.appendChild(thumbnail);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698