Commit c9c3bf84 authored by Wenzhao Zang's avatar Wenzhao Zang Committed by Commit Bot

cros: Modify conditions to add BluetoothReportWithLogs tag in Feedback

Verified sending reports with/without bluetooth keywords and the
correct tags are added.

Bug: 880978, 872403
Change-Id: If139bc6d5c894596fd97de7d234aae63bd88e4dd
Reviewed-on: https://chromium-review.googlesource.com/1208467
Commit-Queue: Wenzhao (Colin) Zang <wzang@chromium.org>
Commit-Queue: Rahul Chaturvedi <rkc@chromium.org>
Reviewed-by: default avatarRahul Chaturvedi <rkc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589040}
parent 1bf3133c
......@@ -227,7 +227,8 @@ function sendReport() {
}
// <if expr="chromeos">
if ($('bluetooth-logs-checkbox') != null &&
$('bluetooth-logs-checkbox').checked) {
$('bluetooth-logs-checkbox').checked &&
!$('bluetooth-checkbox-container').hidden) {
feedbackInfo.sendBluetoothLogs = true;
feedbackInfo.categoryTag = 'BluetoothReportWithLogs';
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment