From 26878ca8fdd125eec87d45147a192db5cce74322 Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Tue, 23 Jul 2024 22:10:31 +0200 Subject: [PATCH] [Accumulated statistics] Swapped to award dropdown --- application/views/accumulate/index.php | 44 ++++----------------- assets/js/sections/accumulatedstatistics.js | 2 +- 2 files changed, 9 insertions(+), 37 deletions(-) diff --git a/application/views/accumulate/index.php b/application/views/accumulate/index.php index 2298da3e6..042a906ea 100644 --- a/application/views/accumulate/index.php +++ b/application/views/accumulate/index.php @@ -49,42 +49,14 @@
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
+
diff --git a/assets/js/sections/accumulatedstatistics.js b/assets/js/sections/accumulatedstatistics.js index 5470ec9f9..3155e01b8 100644 --- a/assets/js/sections/accumulatedstatistics.js +++ b/assets/js/sections/accumulatedstatistics.js @@ -5,7 +5,7 @@ function accumulatePlot(form) { // using this to change color of legend and label according to background color var color = ifDarkModeThemeReturn("white", "grey"); - var award = form.awardradio.value; + var award = form.award.value; var mode = form.mode.value; var period = form.periodradio.value; $.ajax({