Index: ui/file_manager/gallery/js/gallery_util.js |
diff --git a/ui/file_manager/gallery/js/gallery_util.js b/ui/file_manager/gallery/js/gallery_util.js |
index 3275151fde8d14c533dc096e1e07a5caa575555f..905b729920f595beb311a8c2ac4a0e01411c8768 100644 |
--- a/ui/file_manager/gallery/js/gallery_util.js |
+++ b/ui/file_manager/gallery/js/gallery_util.js |
@@ -44,7 +44,9 @@ GalleryUtil.createEntrySet = function(originalEntries) { |
} |
return entriesPromise.then(function(entries) { |
- return entries.filter(FileType.isImage).sort(function(a, b) { |
+ return entries.filter(function(entry) { |
+ return FileType.isImage(entry) || FileType.isRaw(entry); |
+ }).sort(function(a, b) { |
return a.name.localeCompare(b.name); |
}); |
}); |