| Index: ui/file_manager/gallery/js/gallery.js
|
| diff --git a/ui/file_manager/gallery/js/gallery.js b/ui/file_manager/gallery/js/gallery.js
|
| index 2a65793c27becdbcfbd25a82a535bdf790700bd9..5448586d846752fc8b84c778e72f16035f45e5a6 100644
|
| --- a/ui/file_manager/gallery/js/gallery.js
|
| +++ b/ui/file_manager/gallery/js/gallery.js
|
| @@ -820,7 +820,13 @@ Gallery.prototype.updateShareMenu_ = function() {
|
|
|
| for (var t = 0; t !== tasks.length; t++) {
|
| var task = tasks[t];
|
| - if (!isShareAction(task)) continue;
|
| + if (!isShareAction(task))
|
| + continue;
|
| + // Filter out Files.app tasks.
|
| + // TODO(hirono): Remove the hack after the files.app's handlers are
|
| + // removed.
|
| + if (task.taskId.indexOf('hhaomjibdihmijegdhdafkllkbggdgoj|') === 0)
|
| + continue;
|
|
|
| var item = util.createChild(this.shareMenu_, 'item');
|
| item.textContent = task.title;
|
|
|