From 3c3100b2cf0a41fc898161d75e1276bed07c5813 Mon Sep 17 00:00:00 2001 From: kiblik <5609770+kiblik@users.noreply.github.com> Date: Wed, 16 Oct 2024 12:35:36 +0200 Subject: [PATCH] fix(notification): Use site_url in notification contexts --- dojo/templates/dojo/notifications.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dojo/templates/dojo/notifications.html b/dojo/templates/dojo/notifications.html index 81fac49d5c..9a87197c35 100644 --- a/dojo/templates/dojo/notifications.html +++ b/dojo/templates/dojo/notifications.html @@ -162,7 +162,7 @@

$(".chosen-select").chosen({disable_search_threshold: 10}); $('#notification-scope').val('{{ scope }}'); $('.chosen-select').trigger('chosen:updated'); - $('#notification-scope').change(function() { window.location = '/notifications/' + $(this).val(); }); + $('#notification-scope').change(function() { window.location = '{% url 'notifications' %}/' + $(this).val(); }); }); {% endblock postscript %}