| Index: ui/file_manager/file_manager/common/js/importer_common.js
|
| diff --git a/ui/file_manager/file_manager/common/js/importer_common.js b/ui/file_manager/file_manager/common/js/importer_common.js
|
| index 448645de0ea3d81044087e337db2a66e9f35c7f7..6a5eb19192d66fb9dc632907058fd732f52bcae5 100644
|
| --- a/ui/file_manager/file_manager/common/js/importer_common.js
|
| +++ b/ui/file_manager/file_manager/common/js/importer_common.js
|
| @@ -75,9 +75,10 @@ importer.Destination = {
|
| * @return {boolean}
|
| */
|
| importer.isEligibleType = function(entry) {
|
| + // TODO(mtomasz): Add support to mime types.
|
| return !!entry &&
|
| entry.isFile &&
|
| - FileType.isType(entry, ['image', 'raw', 'video']);
|
| + FileType.isType(['image', 'raw', 'video'], entry);
|
| };
|
|
|
| /**
|
|
|