| Index: ui/file_manager/file_manager/foreground/js/ui/combobutton.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/ui/combobutton.js b/ui/file_manager/file_manager/foreground/js/ui/combobutton.js
|
| index b87d69ac185307eb47da6f019b5ad45a12371453..8a4b72a8f17c005ea2393f28b56fde17e171b3f1 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/ui/combobutton.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/ui/combobutton.js
|
| @@ -58,23 +58,7 @@ cr.define('cr.ui', function() {
|
| },
|
| set defaultItem(defaultItem) {
|
| this.defaultItem_ = defaultItem;
|
| -
|
| this.actionNode_.textContent = defaultItem.label || '';
|
| -
|
| - if (defaultItem.iconType) {
|
| - this.actionNode_.classList.add('with-icon');
|
| - this.actionNode_.style.backgroundImage = '';
|
| - this.actionNode_.setAttribute('file-type-icon', defaultItem.iconType);
|
| - } else if (defaultItem.iconUrl) {
|
| - this.actionNode_.classList.add('with-icon');
|
| - this.actionNode_.style.backgroundImage =
|
| - 'url(' + defaultItem.iconUrl + ')';
|
| - this.actionNode_.removeAttribute('file-type-icon');
|
| - } else {
|
| - this.actionNode_.classList.remove('with-icon');
|
| - this.actionNode_.style.backgroundImage = '';
|
| - this.actionNode_.removeAttribute('file-type-icon');
|
| - }
|
| },
|
|
|
| /**
|
|
|