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 0ac20220bf03840d57beb73225ff9bace9293ad5..8f8bb0e4052385cce617c2d613bd43e854363576 100644 |
--- a/chrome/browser/resources/file_manager/js/file_manager.js |
+++ b/chrome/browser/resources/file_manager/js/file_manager.js |
@@ -1900,6 +1900,8 @@ DialogType.isModal = function(type) { |
this.dialogDom_.appendChild(this.filePopup_); |
this.filePopup_.focus(); |
this.document_.body.setAttribute('overlay-visible', ''); |
+ if (util.platform.newUI()) |
+ this.document_.querySelector('#iframe-drag-area').hidden = false; |
}; |
/** |
@@ -1908,6 +1910,8 @@ DialogType.isModal = function(type) { |
FileManager.prototype.closeFilePopup_ = function() { |
if (this.filePopup_) { |
this.document_.body.removeAttribute('overlay-visible'); |
+ if (util.platform.newUI()) |
+ this.document_.querySelector('#iframe-drag-area').hidden = true; |
// The window resize would not be processed properly while the relevant |
// divs had 'display:none', force resize after the layout fired. |
setTimeout(this.onResize_.bind(this), 0); |