From 17b6ec9fe3a5d8df8d673188f64ddc3d63233661 Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Fri, 9 Sep 2022 13:16:26 -0400 Subject: [PATCH 1/2] Cleanup JS errors --- app/frontend/templates/base.html | 4 ---- app/translations/de_DE.json | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/frontend/templates/base.html b/app/frontend/templates/base.html index 100ab16c..e2634486 100755 --- a/app/frontend/templates/base.html +++ b/app/frontend/templates/base.html @@ -525,10 +525,6 @@ }); }); - - $(window).unload(function () { - jQuery.get("/public/logout") - }); {% block js %} diff --git a/app/translations/de_DE.json b/app/translations/de_DE.json index fb5a5d32..ccfb5ca4 100644 --- a/app/translations/de_DE.json +++ b/app/translations/de_DE.json @@ -457,7 +457,7 @@ "absoluteZipPath": "Absoluter Pfad zu dem Server", "addRole": "Server zu existierender Rolle hinzufügen", "autoCreate": "Wenn keine ausgewählt werden, wird Crafty eine erstellen!", - "bePatient": "Bitte haben Sie etwas Geduld, da wir ' + (importing ? 'import' : 'download')", + "bePatient": "Bitte haben Sie etwas Geduld, da wir ' + (importing ? 'import' : 'download') + '", "buildServer": "Server erstellen!", "clickRoot": "Hier klicken, um das Stammverzeichnis auszuwählen", "close": "Schließen", -- GitLab From c6dfd9688db637ab943bbc73acef28986828ff85 Mon Sep 17 00:00:00 2001 From: Zedifus Date: Mon, 19 Sep 2022 21:58:41 +0100 Subject: [PATCH 2/2] Update changelog !455 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79d05990..7e7db3d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ TBD - Fix bug where trying to reconfigure unloaded server would stack ([Commit](https://gitlab.com/crafty-controller/crafty-4/-/commit/1b2fef06fb3b02b76c9506caf7e07e932df95fab)) - Fix traceback error when a user click the roles config tab while already on the roles config page; **this is for new role creation only** ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/452)) - Fix logic issue when removing items from backup exclusions ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/453)) +- Cleanup various JS errors ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/455)) ### Tweaks - Add button to scroll to bottom of vterm ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/454)) ### Lang -- GitLab