From 62ffa4ebc1567d8338148a6f6aa8f90087bd2bb5 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 81fac49d5cc..9a87197c35e 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 %}