diff --git a/assets/ts_src/ajax_ui.ts b/assets/ts_src/ajax_ui.ts index 77a11e69..300d36b6 100644 --- a/assets/ts_src/ajax_ui.ts +++ b/assets/ts_src/ajax_ui.ts @@ -210,6 +210,10 @@ class AjaxUI { //Replace login menu too (so everything is up to date) $("#login-content").replaceWith($('#login-content', dom)); + //Replace flash messages and show them + $("#message-container").replaceWith($('#message-container', dom)); + $(".toast").toast('show'); + //Set new title let title = extractTitle(responseText); document.title = title; diff --git a/templates/base.html.twig b/templates/base.html.twig index 5c30963d..a3818f82 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -118,7 +118,7 @@ -