summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting/templates
diff options
context:
space:
mode:
authorSimon Rettberg2017-01-19 16:03:06 +0100
committerSimon Rettberg2017-01-19 16:03:06 +0100
commit886e13e1af47ba6488ba3c5146d96e48e08403ad (patch)
treedd0da56ccf6f2e5ae9e4e6b1e5709b911d255164 /modules-available/statistics_reporting/templates
parent[statistics_reporting] i18n: Move tags used in code to separate file, delete ... (diff)
downloadslx-admin-886e13e1af47ba6488ba3c5146d96e48e08403ad.tar.gz
slx-admin-886e13e1af47ba6488ba3c5146d96e48e08403ad.tar.xz
slx-admin-886e13e1af47ba6488ba3c5146d96e48e08403ad.zip
[statistics_reporting] Overhaul remote reporting structure; default to off
Diffstat (limited to 'modules-available/statistics_reporting/templates')
-rw-r--r--modules-available/statistics_reporting/templates/columnChooser.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/statistics_reporting/templates/columnChooser.html b/modules-available/statistics_reporting/templates/columnChooser.html
index 47fef2a5..513bc36b 100644
--- a/modules-available/statistics_reporting/templates/columnChooser.html
+++ b/modules-available/statistics_reporting/templates/columnChooser.html
@@ -189,8 +189,8 @@
function saveSettings() {
$.ajax({
url: '?do=statistics_reporting',
- type: 'GET',
- data: { action: "setReporting", reporting: $("#checkbox-reporting").is(":checked") ? "on" : "off" }
+ type: 'POST',
+ data: { action: "setReporting", reporting: $("#checkbox-reporting").is(":checked") ? "on" : "off", token: TOKEN }
});
}
</script> \ No newline at end of file