| Index: chrome/browser/resources/sync_setup_overlay.js
|
| diff --git a/chrome/browser/resources/sync_setup_overlay.js b/chrome/browser/resources/sync_setup_overlay.js
|
| index 22bf0108fa58ac46bfe18aa0d4f411f3c9319cc4..2e0d5d91f5226ebf6f85b6626efe289da0346b43 100644
|
| --- a/chrome/browser/resources/sync_setup_overlay.js
|
| +++ b/chrome/browser/resources/sync_setup_overlay.js
|
| @@ -282,6 +282,7 @@ cr.define('options', function() {
|
| * @private
|
| */
|
| setInputElementsDisabledState_: function(disabled) {
|
| + var self = this;
|
| var configureElements =
|
| $('customize-sync-preferences').querySelectorAll('input');
|
| for (var i = 0; i < configureElements.length; i++)
|
| @@ -291,7 +292,7 @@ cr.define('options', function() {
|
| $('customize-link').hidden = disabled;
|
| $('customize-link').disabled = disabled;
|
| $('customize-link').onclick = disabled ? null : function() {
|
| - SyncSetupOverlay.showCustomizePage(null,
|
| + SyncSetupOverlay.showCustomizePage(self.syncConfigureArgs_,
|
| DataTypeSelection.SYNC_EVERYTHING);
|
| return false;
|
| };
|
| @@ -599,7 +600,7 @@ cr.define('options', function() {
|
| if (wasCustomizePageHidden)
|
| $('choose-datatypes-ok').focus();
|
|
|
| - if (args && args.showPassphrase) {
|
| + if (args.showPassphrase) {
|
| this.showPassphraseContainer_(args);
|
| // Give the passphrase field focus only when the dialog wasn't already
|
| // visible.
|
|
|