Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/dialog_footer.js

Issue 900743002: Move preview panel's components to toolbar and footer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a TODO comment about customized CommandButton. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/file_manager/foreground/js/ui/dialog_footer.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/dialog_footer.js b/ui/file_manager/file_manager/foreground/js/ui/dialog_footer.js
index 36a95dc5866d9c8e34ef0f8fbdb3a23ad512639e..70aa1de50ba1fa6db02b5d933c430792da9c2cca 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/dialog_footer.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/dialog_footer.js
@@ -90,8 +90,7 @@ DialogFooter.findDialogFooter = function(dialogType, document) {
var hasFooterPanel = dialogType == DialogType.SELECT_SAVEAS_FILE;
return new DialogFooter(
dialogType,
- queryRequiredElement(
- document, hasFooterPanel ? '.dialog-footer' : '.preview-panel'),
+ queryRequiredElement(document, '.dialog-footer'),
queryRequiredElement(document, '#filename-input-box input'));
};

Powered by Google App Engine
This is Rietveld 408576698