summaryrefslogtreecommitdiffstats
path: root/dist/js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/js')
-rwxr-xr-xdist/js/app.js2
-rw-r--r--dist/js/lang/bundle.js2
-rw-r--r--dist/js/settings.js3
-rw-r--r--dist/js/setup-storage.js2
4 files changed, 7 insertions, 2 deletions
diff --git a/dist/js/app.js b/dist/js/app.js
index 84a4c3a..8c82665 100755
--- a/dist/js/app.js
+++ b/dist/js/app.js
@@ -3,7 +3,7 @@
const app_version = "1.0.13-beta";
-const previous_commit = "448708182490d551721767bffc34ef35375f5082";
+const previous_commit = "cbef4f9e7f6b39469d9e6ac77b5a7237f69022ee";
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/sw.js")
diff --git a/dist/js/lang/bundle.js b/dist/js/lang/bundle.js
index 6c53d94..75fae14 100644
--- a/dist/js/lang/bundle.js
+++ b/dist/js/lang/bundle.js
@@ -297,6 +297,7 @@ var langstrings = {
errorReporting: "error reporting",
on: "on",
off: "off",
+ selectErrorReporting: "should error reports be submitted to the developers?",
// gsec
gsecErrNet: "GimSIS connection error",
gsecErrLogin: "GimSIS login error (bad password?), try logging out",
@@ -493,6 +494,7 @@ var langstrings = {
errorReporting: "pošiljanje napak",
on: "vklopljeno",
off: "izklopljeno",
+ selectErrorReporting: "ali naj so napake v aplikaciji posredovane razvijalcem?",
// gsec
gsecErrNet: "napaka povezave na GimSIS",
gsecErrLogin: "prijava v GimSIS ni uspela (napačno geslo?), poskusite se odjaviti",
diff --git a/dist/js/settings.js b/dist/js/settings.js
index 7ea0b47..1dd3bfc 100644
--- a/dist/js/settings.js
+++ b/dist/js/settings.js
@@ -66,6 +66,9 @@ document.addEventListener("DOMContentLoaded", async () => {
var elems = document.querySelectorAll(".theme-select");
M.FormSelect.init(elems, {});
+ var elems = document.querySelectorAll(".errorreporting-select");
+ M.FormSelect.init(elems, {});
+
// Setup language select dropdown
var elems = document.querySelectorAll(".lang-select");
M.FormSelect.init(elems, {});
diff --git a/dist/js/setup-storage.js b/dist/js/setup-storage.js
index ce66bba..7aaa089 100644
--- a/dist/js/setup-storage.js
+++ b/dist/js/setup-storage.js
@@ -19,7 +19,7 @@ async function setupStorage(force = false) {
localforage.setItem("directory", {}), //\\ well I could remember my own code but I didn't.
localforage.setItem("meals", {}),
localforage.setItem("chosenLang", "en"),
- localforage.setItem("theme", "light")
+ localforage.setItem("theme", "light"),
localforage.setItem("errorReporting", "on")
];