| 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 d91e4760e6037c59d6ec6368ddb773f337e70f84..657843ebe5876dd552a0613652998c02231764fb 100644
|
| --- a/chrome/browser/resources/file_manager/js/file_manager.js
|
| +++ b/chrome/browser/resources/file_manager/js/file_manager.js
|
| @@ -886,10 +886,11 @@ DialogType.isModal = function(type) {
|
| // Populate the static localized strings.
|
| i18nTemplate.process(this.document_, loadTimeData);
|
|
|
| - // Initialize the new header.
|
| + // Initialize the new header and arrange the file list.
|
| if (util.platform.newUI()) {
|
| this.dialogDom_.querySelector('#app-name').innerText =
|
| chrome.runtime.getManifest().name;
|
| + this.table_.normalizeColumns();
|
| }
|
| };
|
|
|
| @@ -1322,6 +1323,8 @@ DialogType.isModal = function(type) {
|
| }, 0);
|
| } else {
|
| this.table_.redraw();
|
| + if (util.platform.newUI())
|
| + this.table_.normalizeColumns();
|
| }
|
|
|
| if (!util.platform.newUI())
|
| @@ -1680,6 +1683,8 @@ DialogType.isModal = function(type) {
|
| * the table layout.
|
| */
|
| FileManager.prototype.shouldShowOfflineColumn = function() {
|
| + if (util.platform.newUI())
|
| + return false;
|
| return this.directoryModel_.getCurrentRootType() === RootType.DRIVE;
|
| };
|
|
|
|
|