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

Unified Diff: chrome/browser/resources/feedback.js

Issue 10834194: Change email to be OPT-IN on Chrome and OPT-OUT on cros. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | « chrome/browser/resources/feedback.html ('k') | chrome/browser/ui/webui/feedback_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/feedback.js
diff --git a/chrome/browser/resources/feedback.js b/chrome/browser/resources/feedback.js
index 91b3aa4356ff682221e1679dfa01e1581cbcc51c..3d48603c961c720442a05ec623ae82a79c47a8fc 100644
--- a/chrome/browser/resources/feedback.js
+++ b/chrome/browser/resources/feedback.js
@@ -284,6 +284,7 @@ function setupDialogDefaults(defaults) {
$('page-url-checkbox').checked = false;
// User e-mail.
$('user-email-text').value = defaults.userEmail;
+ $('user-email-checkbox').checked = defaults.emailCheckboxDefault;
// Are screenshots disabled?
if (!defaults.disableScreenshots)
« no previous file with comments | « chrome/browser/resources/feedback.html ('k') | chrome/browser/ui/webui/feedback_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698