From 586ec6c6fe63388a46ba815e626efe49acc16817 Mon Sep 17 00:00:00 2001 From: Hangzhi Yu <hangzhi@protonmail.com> Date: Wed, 26 Apr 2023 00:26:09 +0200 Subject: [PATCH] Fix retry button on error 500 page --- CHANGELOG.rst | 1 + aleksis/core/templates/500.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 751989df7..fcb3736da 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -33,6 +33,7 @@ Fixed * The `Stop Impersonation` button is not shown due to an oversee when changing the type of the whoAmI query to an object of UserType * Offline fallback page for legacy pages was misleading sometimes. * Route changes in the Legacy-Component iframe didn't trigger a scroll to the top +* Retry button on error 500 page did not trigger a reload of the page. `3.0b3`_ - 2023-03-19 --------------------- diff --git a/aleksis/core/templates/500.html b/aleksis/core/templates/500.html index d008cd540..a2ea5c902 100644 --- a/aleksis/core/templates/500.html +++ b/aleksis/core/templates/500.html @@ -16,7 +16,7 @@ {% endblocktrans %} </p> {% include "core/partials/admins_list.html" %} - <a href="javascript:window.location.reload()" class="btn green waves-effect waves-light"> + <a onClick="window.location.reload();" class="btn secondary waves-effect waves-light"> <i class="material-icons left">refresh</i> {% trans "Retry" %} </a> -- GitLab