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

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

Issue 821003002: Files.app: Fix TaskController so that it calls correct default task. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add Licence Created 6 years 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/task_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/task_controller.js b/ui/file_manager/file_manager/foreground/js/task_controller.js
index a4fb88daee36d075230f3885b5fe1b672e305c33..cd0a7e636b19ba7fd476ef57435624c967a9fc7c 100644
--- a/ui/file_manager/file_manager/foreground/js/task_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/task_controller.js
@@ -348,7 +348,7 @@ TaskController.prototype.doEntryAction = function(entry) {
this.metadataCache_.get([entry], 'external', function(props) {
var tasks = this.createTask_();
tasks.init([entry], [props[0].contentMimeType || '']);
- tasks.executeDefault_();
+ tasks.executeDefault();
}.bind(this));
} else {
var selection = this.selectionHandler_.selection;

Powered by Google App Engine
This is Rietveld 408576698