Index: ui/file_manager/gallery/js/gallery.js |
diff --git a/ui/file_manager/gallery/js/gallery.js b/ui/file_manager/gallery/js/gallery.js |
index 34a66b97d03bf62a41fb4083231a686e755a6a5c..a575e86771e9a9fad5749943b071ce2c279a8463 100644 |
--- a/ui/file_manager/gallery/js/gallery.js |
+++ b/ui/file_manager/gallery/js/gallery.js |
@@ -31,6 +31,10 @@ function GalleryDataModel(metadataCache) { |
* @type {DirectoryEntry} |
*/ |
this.fallbackSaveDirectory = null; |
+ |
+ // Start to watch file system entries. |
+ var watcher = new EntryListWatcher(this); |
+ watcher.getEntry = function(item) { return item.getEntry(); }; |
} |
/** |