html export checkboxes don't work
Created by: drewbenn
If I export an html report and view it in Chromium 83 on Debian stable KDE, nothing happens when I uncheck the activites
, categories
or tags
checkboxes.
I observe that changing the js from 'attr' to 'prop' fixes the issue, like:
--- a/data/report_template.html
+++ b/data/report_template.html
@@ -297,13 +297,13 @@
// determine if we will be doing any internal counting
var keys = [];
- if ($("#show_activities").attr("checked"))
+ if ($("#show_activities").prop("checked"))
keys.push("activity");
- if ($("#show_categories").attr("checked"))
+ if ($("#show_categories").prop("checked"))
keys.push("category");
- if ($("#show_tags").attr("checked"))
+ if ($("#show_tags").prop("checked"))
keys.push("tags");