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

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

Issue 2837483002: [Merge to M59] Feedback: User email section should only be visible when useful (Closed)
Patch Set: Created 3 years, 8 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/default.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/feedback/js/feedback.js
diff --git a/chrome/browser/resources/feedback/js/feedback.js b/chrome/browser/resources/feedback/js/feedback.js
index cb51b9629910f70da86451009b12e0717b8dffd6..a60b24a0ac46b17ea3beed7003c3b777eb89d27d 100644
--- a/chrome/browser/resources/feedback/js/feedback.js
+++ b/chrome/browser/resources/feedback/js/feedback.js
@@ -354,6 +354,9 @@ function initialize() {
// Make sure the "Report anonymously" option comes last.
$('user-email-drop-down').insertBefore(optionElement,
$('anonymous-user-option'));
+
+ // Now we can unhide the user email section:
+ $('user-email').hidden = false;
});
// Initiate getting the system info.
« no previous file with comments | « chrome/browser/resources/feedback/html/default.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698