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

Unified Diff: chrome/browser/resources/file_manager/foreground/js/ui/file_manager_dialog_base.js

Issue 108163005: [Files.app] Remove OK and Cancel buttons in task picker dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 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: chrome/browser/resources/file_manager/foreground/js/ui/file_manager_dialog_base.js
diff --git a/chrome/browser/resources/file_manager/foreground/js/ui/file_manager_dialog_base.js b/chrome/browser/resources/file_manager/foreground/js/ui/file_manager_dialog_base.js
index 63b856f087f64f19b338c8046375146ee8448d49..85dc9466671dbcabda69655b05aa6889afadbac4 100644
--- a/chrome/browser/resources/file_manager/foreground/js/ui/file_manager_dialog_base.js
+++ b/chrome/browser/resources/file_manager/foreground/js/ui/file_manager_dialog_base.js
@@ -103,6 +103,7 @@ FileManagerDialogBase.prototype.showTitleOnlyDialog = function(title) {
* dialog failed to show due to an existing dialog.
*/
FileManagerDialogBase.prototype.showTitleAndTextDialog = function(title, text) {
+ this.buttons.style.display = 'none';
return this.showImpl_(title, text, null, null, null);
};
« no previous file with comments | « chrome/browser/resources/file_manager/foreground/js/file_manager_commands.js ('k') | ui/webui/resources/js/cr/ui/dialogs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698