Chromium Code Reviews| Index: chrome/browser/resources/file_manager/js/file_manager.js |
| diff --git a/chrome/browser/resources/file_manager/js/file_manager.js b/chrome/browser/resources/file_manager/js/file_manager.js |
| index 8048e9e8303b69fc87604b53cea44c8de5bf11df..55d1e70535e543343d976131ab78ced7b2d723ad 100644 |
| --- a/chrome/browser/resources/file_manager/js/file_manager.js |
| +++ b/chrome/browser/resources/file_manager/js/file_manager.js |
| @@ -936,6 +936,7 @@ DialogType.isModal = function(type) { |
| this.dialogDom_.querySelector('#app-name').innerText = |
| chrome.runtime.getManifest().name; |
| this.table_.normalizeColumns(); |
| + this.table_.redraw(); |
| } |
| }; |
| @@ -1410,9 +1411,11 @@ DialogType.isModal = function(type) { |
| g.endBatchUpdates(); |
| }, 0); |
| } else { |
| + if (util.platform.newUI()) { |
| + if (this.table_.clientWidth > 0) |
|
mtomasz
2013/05/07 08:37:53
Do we need this? What's the purpose of it? If the
mtomasz
2013/05/07 08:44:58
OK, now I see. My repro steps for this are:
1. Ope
mtomasz
2013/05/07 09:15:34
This check for clientWidth > 0 seem to me unnecess
yoshiki
2013/05/07 09:51:04
We need this check. When this.table_.clientWidth=0
|
| + this.table_.normalizeColumns(); |
| + } |
| this.table_.redraw(); |
| - if (util.platform.newUI()) |
| - this.table_.normalizeColumns(); |
| } |
| if (!util.platform.newUI()) |