| Index: ui/file_manager/file_manager/foreground/js/file_selection.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/file_selection.js b/ui/file_manager/file_manager/foreground/js/file_selection.js
|
| index e38bb9741f5e461b36d8cd2e43464f546266b76d..fc736e893b36377f1c976d8d6921359486dd5359 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/file_selection.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/file_selection.js
|
| @@ -160,7 +160,7 @@ function FileSelectionHandler(fileManager) {
|
| this.okButton_ = fileManager.ui.dialogFooter.okButton;
|
| this.filenameInput_ = fileManager.ui.dialogFooter.filenameInput;
|
| this.previewPanel_ = fileManager.ui.previewPanel;
|
| - this.taskItems_ = fileManager.taskItems_;
|
| + this.taskMenuButton_ = fileManager.ui.taskMenuButton;
|
| this.selection = new FileSelection(this.fileManager_, []);
|
| }
|
|
|
| @@ -335,11 +335,11 @@ FileSelectionHandler.prototype.updateFileSelectionAsync = function(selection) {
|
| selection.createTasks(function() {
|
| if (this.selection != selection)
|
| return;
|
| - selection.tasks.display(this.taskItems_);
|
| + selection.tasks.display(this.taskMenuButton_);
|
| selection.tasks.updateMenuItem();
|
| }.bind(this));
|
| } else {
|
| - this.taskItems_.hidden = true;
|
| + this.taskMenuButton_.hidden = true;
|
| }
|
|
|
| // Update preview panels.
|
|
|