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

Unified Diff: ui/file_manager/file_manager/foreground/js/file_manager.js

Issue 1789593002: Files app: Loading detailed information for single file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 months 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
Index: ui/file_manager/file_manager/foreground/js/file_manager.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_manager.js b/ui/file_manager/file_manager/foreground/js/file_manager.js
index e8081344060aebe654a620c8bb58403bcf5f62ef..4cb38aecab2ee43b71d171baed54aec20a33a438 100644
--- a/ui/file_manager/file_manager/foreground/js/file_manager.js
+++ b/ui/file_manager/file_manager/foreground/js/file_manager.js
@@ -833,6 +833,7 @@ FileManager.prototype = /** @struct */ {
this.metadataModel_,
this.volumeManager_,
this.historyLoader_);
+
var singlePanel = queryRequiredElement('#single-file-details', dom);
SingleFileDetailsPanel.decorate(
assertInstanceof(singlePanel, HTMLDivElement),
@@ -980,6 +981,7 @@ FileManager.prototype = /** @struct */ {
// Create metadata update controller.
this.metadataUpdateController_ = new MetadataUpdateController(
this.ui_.listContainer,
+ assert(this.ui_.detailsContainer),
this.directoryModel_,
this.metadataModel_);

Powered by Google App Engine
This is Rietveld 408576698