| Index: ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js b/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
|
| index e51bae7266c9eee9379c12023226bb8daa143003..489ee969522412470350c52ad39078c79c2209ef 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
|
| @@ -641,7 +641,14 @@ VolumeItem.prototype.setupIcon_ = function(icon, volumeInfo) {
|
| 'style', 'background-image: ' + backgroundImage);
|
| }
|
| icon.setAttribute('volume-type-icon', volumeInfo.volumeType);
|
| - icon.setAttribute('volume-subtype', volumeInfo.deviceType || '');
|
| + if (volumeInfo.volumeType === VolumeManagerCommon.VolumeType.MEDIA_VIEW) {
|
| + icon.setAttribute(
|
| + 'volume-subtype',
|
| + VolumeManagerCommon.getMediaViewRootTypeFromVolumeId(
|
| + volumeInfo.volumeId));
|
| + } else {
|
| + icon.setAttribute('volume-subtype', volumeInfo.deviceType || '');
|
| + }
|
| };
|
|
|
| /**
|
|
|