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

Unified Diff: chrome/browser/resources/options/import_data_overlay.js

Issue 23717032: Disable "Choose file" button if "Favorites" checkbox is unchecked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/import_data_overlay.js
diff --git a/chrome/browser/resources/options/import_data_overlay.js b/chrome/browser/resources/options/import_data_overlay.js
index 8088c534d8d9fa503b779491cea7d0e75e1fc6cc..cb3ba642019fe687808ada28ae2707632e9b5c93 100644
--- a/chrome/browser/resources/options/import_data_overlay.js
+++ b/chrome/browser/resources/options/import_data_overlay.js
@@ -86,6 +86,7 @@ cr.define('options', function() {
$('import-history').checked || $('import-favorites').checked ||
$('import-passwords').checked || $('import-search').checked;
$('import-data-commit').disabled = !somethingToImport;
+ $('import-choose-file').disabled = !$('import-favorites').checked;
},
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698