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

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

Issue 8332019: [Sync UI] Disable the "Advanced..." button when there is an unrecoverable sync error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/personal_options_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/personal_options.js
diff --git a/chrome/browser/resources/options/personal_options.js b/chrome/browser/resources/options/personal_options.js
index 23483d01a22fd0f27e2d2e8adac4a2c5a06e742a..1ca3db5e98865e03d725d1aebeb36d34a5206ad4 100644
--- a/chrome/browser/resources/options/personal_options.js
+++ b/chrome/browser/resources/options/personal_options.js
@@ -176,6 +176,10 @@ cr.define('options', function() {
$('sync-status').classList.remove('sync-error');
},
+ setCustomizeSyncButtonEnabled_: function(enabled) {
+ $('customize-sync').disabled = !enabled;
+ },
+
setSyncActionLinkEnabled_: function(enabled) {
$('sync-action-link').disabled = !enabled;
},
@@ -315,6 +319,7 @@ cr.define('options', function() {
[
'hideSyncSection',
'setAutoLoginVisible',
+ 'setCustomizeSyncButtonEnabled',
'setGtkThemeButtonEnabled',
'setProfilesInfo',
'setProfilesSectionVisible',
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/personal_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698