summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorgwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 01:40:08 +0000
committergwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 01:40:08 +0000
commita723f2b68d536edd0fcdfbc4687db26ceac55ce8 (patch)
treea32065573fe99d9386b23363259d745aa67a263f /chrome/installer
parentaf278665a282f068132b47fa585b10eab41efd4c (diff)
downloadchromium_src-a723f2b68d536edd0fcdfbc4687db26ceac55ce8.zip
chromium_src-a723f2b68d536edd0fcdfbc4687db26ceac55ce8.tar.gz
chromium_src-a723f2b68d536edd0fcdfbc4687db26ceac55ce8.tar.bz2
This fixes the usage stats opt-in javascript on the in EULA dialog to return the correct value when the checkbox is (not) selected.
BUG=7368 R=cpu Review URL: http://codereview.chromium.org/21031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9119 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/setup/eula/oem.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/setup/eula/oem.js b/chrome/installer/setup/eula/oem.js
index febed6b..4316a2c 100644
--- a/chrome/installer/setup/eula/oem.js
+++ b/chrome/installer/setup/eula/oem.js
@@ -1,8 +1,8 @@
function checkAccept(f) {
if (f.accept.checked) {
- window.returnValue = 1;
- } else {
window.returnValue = 6;
+ } else {
+ window.returnValue = 1;
}
window.close();
}