summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-27 21:16:24 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-27 21:16:24 +0000
commitdb97648802214d8b108ca667c7019bce48527f83 (patch)
treef53914cdf3ff350502bb1d8232c0bfcac95f7afa /chrome
parent7f4e21428fcd20a0acfbda42e4c5e238e4c9472d (diff)
downloadchromium_src-db97648802214d8b108ca667c7019bce48527f83.zip
chromium_src-db97648802214d8b108ca667c7019bce48527f83.tar.gz
chromium_src-db97648802214d8b108ca667c7019bce48527f83.tar.bz2
Revert 64127 - sync: hide encryption tabstrip
BUG=59631 TEST=open configure dialog, note no 'Data Type'/'Encryption' tabstrip. Review URL: http://codereview.chromium.org/4155006 TBR=tim@chromium.org Review URL: http://codereview.chromium.org/4097007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64149 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/sync/resources/configure.html31
1 files changed, 15 insertions, 16 deletions
diff --git a/chrome/browser/sync/resources/configure.html b/chrome/browser/sync/resources/configure.html
index 349a9d0..0ba65c4 100644
--- a/chrome/browser/sync/resources/configure.html
+++ b/chrome/browser/sync/resources/configure.html
@@ -53,7 +53,6 @@ form {
margin-bottom: 10px;
padding-top: 10px;
background-color: #DDD;
- display: none;
}
.sync-config-tab-active {
background-color: white;
@@ -188,18 +187,18 @@ html[os='mac'] input[type='submit'] {
setChooseDataTypesCheckboxes(args);
setEncryptionCheckboxes(args);
setErrorState(args);
- }
-
- function checkAllDataTypeCheckboxes() {
- var checkboxes = document.getElementsByName("dataTypeCheckbox");
- for (var i = 0; i < checkboxes.length; i++) {
- checkboxes[i].checked = true;
- }
- }
-
- function setCheckboxesToKeepEverythingSynced(value) {
- setDataTypeCheckboxesEnabled(!value);
- if (value)
+ }
+
+ function checkAllDataTypeCheckboxes() {
+ var checkboxes = document.getElementsByName("dataTypeCheckbox");
+ for (var i = 0; i < checkboxes.length; i++) {
+ checkboxes[i].checked = true;
+ }
+ }
+
+ function setCheckboxesToKeepEverythingSynced(value) {
+ setDataTypeCheckboxesEnabled(!value);
+ if (value)
checkAllDataTypeCheckboxes();
}
@@ -251,9 +250,9 @@ html[os='mac'] input[type='submit'] {
args.syncApps;
document.getElementById("appsItem").className = "sync-item-show";
} else {
- document.getElementById("appsItem").className = "sync-item-hide";
- }
-
+ document.getElementById("appsItem").className = "sync-item-hide";
+ }
+
setCheckboxesToKeepEverythingSynced(args.keepEverythingSynced);
if (args.sessionsRegistered) {
document.getElementById("sessionsCheckbox").checked = args.syncSessions;