| 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 f4d00e23e57fc64a3a929e78376e5aa3a75a97bd..a99ce518c41ccb2c6dd0462e469559412b9a1fe9 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/file_manager.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/file_manager.js
|
| @@ -177,6 +177,13 @@ function FileManager() {
|
| this.gearMenuController_ = null;
|
|
|
| /**
|
| + * Toolbar controller.
|
| + * @type {ToolbarController}
|
| + * @private
|
| + */
|
| + this.toolbarController_ = null;
|
| +
|
| + /**
|
| * App state controller.
|
| * @type {AppStateController}
|
| * @private
|
| @@ -415,6 +422,11 @@ FileManager.prototype = /** @struct */ {
|
| this.ui_.gearMenu,
|
| this.directoryModel_,
|
| this.commandHandler);
|
| + this.toolbarController_ = new ToolbarController(
|
| + this.ui_.cancelSelectionButton,
|
| + this.ui_.filesSelectedLabel,
|
| + this.selectionHandler_,
|
| + this.directoryModel_.getFileListSelection());
|
|
|
| importer.importEnabled().then(
|
| function(enabled) {
|
|
|