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

Unified Diff: chrome/browser/resources/file_manager/js/photo/gallery.js

Issue 10878076: Un-breaking the Photo Editor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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: chrome/browser/resources/file_manager/js/photo/gallery.js
diff --git a/chrome/browser/resources/file_manager/js/photo/gallery.js b/chrome/browser/resources/file_manager/js/photo/gallery.js
index 046665e6fc9d2e44170400ba30920ea8c5330fad..92e500aef99ee3bc66f907b82208232be2292a01 100644
--- a/chrome/browser/resources/file_manager/js/photo/gallery.js
+++ b/chrome/browser/resources/file_manager/js/photo/gallery.js
@@ -554,7 +554,8 @@ ShareMode.prototype.updateMenu = function(urls) {
}
var api = Gallery.getFileBrowserPrivate();
- api.getFileTasks(urls, function(tasks) {
+ var mimeTypes = []; // TODO(kaznacheev) Collect mime types properly.
+ api.getFileTasks(urls, mimeTypes, function(tasks) {
for (var i = 0; i != tasks.length; i++) {
var task = tasks[i];
if (!isShareAction(task)) continue;
« 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