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

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

Issue 1735203003: Fix: condition to hide generic file handlers has to be inverted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/file_tasks.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_tasks.js b/ui/file_manager/file_manager/foreground/js/file_tasks.js
index a1c2566fd3f8499471203ca90c16991957136982..1096215199a1d6691d7d238adef44fd5e7bc1e8b 100644
--- a/ui/file_manager/file_manager/foreground/js/file_tasks.js
+++ b/ui/file_manager/file_manager/foreground/js/file_tasks.js
@@ -827,7 +827,7 @@ FileTasks.prototype.createCombobuttonItem_ = function(task, opt_title,
FileTasks.prototype.showTaskPicker = function(taskDialog, title, message,
onSuccess,
opt_hideGenericFileHandler) {
- var items = !!opt_hideGenericFileHandler ? this.createItems_() :
+ var items = !opt_hideGenericFileHandler ? this.createItems_() :
this.createItems_().filter(function(item) {
return !item.isGenericFileHandler;
});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698