summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/resources/feedback/js/feedback.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/resources/feedback/js/feedback.js b/chrome/browser/resources/feedback/js/feedback.js
index c03d24c..2d10e9c 100644
--- a/chrome/browser/resources/feedback/js/feedback.js
+++ b/chrome/browser/resources/feedback/js/feedback.js
@@ -125,6 +125,10 @@ function sendReport() {
}
}
+ // If the user doesn't want to send the screenshot.
+ if (!$('screenshot-checkbox').checked)
+ feedbackInfo.screenshot = null;
+
chrome.feedbackPrivate.sendFeedback(feedbackInfo, function(result) {
window.open(FEEDBACK_LANDING_PAGE, '_blank');
window.close();