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

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

Issue 463823002: Settings page: Do not grey out the "Ok Google" checkbox on errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/hotword_confirm_dialog.js ('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/hotword_search_setting_indicator.js
diff --git a/chrome/browser/resources/options/hotword_search_setting_indicator.js b/chrome/browser/resources/options/hotword_search_setting_indicator.js
index a920e6c10f2d059cd6b022a76471cf3df2a0e59b..efc9300fe86f33c974400812997bcf9a487ba6c0 100644
--- a/chrome/browser/resources/options/hotword_search_setting_indicator.js
+++ b/chrome/browser/resources/options/hotword_search_setting_indicator.js
@@ -37,15 +37,6 @@ cr.define('options', function() {
},
/**
- * Sets the variable tracking thesection which becomes disabled if an
- * error exists.
- * @param {HTMLElement} section The section to disable.
- */
- set disabledOnErrorSection(section) {
- this.disabledOnErrorSection_ = section;
- },
-
- /**
* Returns the current error.
* @return {string} The error message to be displayed. May be undefined if
* there is no error.
@@ -71,8 +62,6 @@ cr.define('options', function() {
updateBasedOnError: function() {
if (this.errorText_)
this.hidden = false;
- if (this.disabledOnErrorSection_)
- this.disabledOnErrorSection_.disabled = !!this.errorText_;
},
/**
« no previous file with comments | « chrome/browser/resources/options/hotword_confirm_dialog.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698