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

Unified Diff: chrome/browser/resources/options2/browser_options.js

Issue 9555016: [uber] css hack n slash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: chrome/browser/resources/options2/browser_options.js
diff --git a/chrome/browser/resources/options2/browser_options.js b/chrome/browser/resources/options2/browser_options.js
index 138a000ee994e5c6f44d4efb40f3f41198300556..d326e5f5abeeb537a968f70489045ed70adebc4d 100644
--- a/chrome/browser/resources/options2/browser_options.js
+++ b/chrome/browser/resources/options2/browser_options.js
@@ -664,6 +664,11 @@ cr.define('options', function() {
$('profiles-manage').disabled = !hasSelection ||
!selectedProfile.isCurrentProfile;
$('profiles-delete').disabled = !hasSelection && !hasSingleProfile;
+ var importData = $('import-data');
+ if (importData) {
+ importData.disabled = $('import-data').disabled = hasSelection &&
+ !selectedProfile.isCurrentProfile;
Dan Beam 2012/03/01 03:56:20 2 more \s
+ }
},
/**

Powered by Google App Engine
This is Rietveld 408576698