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

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

Issue 11193002: Add third batch of controlled setting indicators (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment addressed. Created 8 years, 2 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/options/browser_options.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index 607215703d6e93625542086459bee80a2edfa60b..f80232275fd001f9f7bdc9bd025d7ffdcded1a07 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -776,6 +776,11 @@ cr.define('options', function() {
path = path.replace(/\//g, ' \u203a ');
$('downloadLocationPath').value = path;
}
+ if (event.value.disabled)
+ $('download-location-label').classList.add('disabled');
+ else
+ $('download-location-label').classList.remove('disabled');
+ $('downloadLocationChangeButton').disabled = event.value.disabled;
},
/**
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698