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

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

Issue 12389079: Disable content pack buttons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Multiline tags should close on new line. Created 7 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
« no previous file with comments | « chrome/browser/resources/options/managed_user_settings.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/managed_user_settings.js
diff --git a/chrome/browser/resources/options/managed_user_settings.js b/chrome/browser/resources/options/managed_user_settings.js
index 48ea70799f7a2503f1a444b774de895819775d72..493fbe02c380a3754ddd143710d86c344a1a4266 100644
--- a/chrome/browser/resources/options/managed_user_settings.js
+++ b/chrome/browser/resources/options/managed_user_settings.js
@@ -114,7 +114,8 @@ cr.define('options', function() {
enableControls: function(enable) {
$('set-passphrase').disabled =
!enable || !$('use-passphrase-checkbox').checked;
- $('get-content-packs-button').disabled = !enable;
+ // TODO(sergiu): make $('get-content-packs-button') behave the same as
+ // the other controls once the button actually does something.
$('contentpacks-allow').setDisabled('notManagedUserModifiable', !enable);
$('contentpacks-warn').setDisabled('notManagedUserModifiable', !enable);
$('contentpacks-block').setDisabled('notManagedUserModifiable', !enable);
« no previous file with comments | « chrome/browser/resources/options/managed_user_settings.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698