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

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

Issue 8395026: Merge 107203 - [Sync UI] Disable the "Advanced..." button when there is an unrecoverable sync error. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/912/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
===================================================================
--- chrome/browser/resources/options/personal_options.js (revision 107243)
+++ chrome/browser/resources/options/personal_options.js (working copy)
@@ -176,6 +176,10 @@
$('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 @@
[
'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