Skip to content

Commit

Permalink
fix(notification): Use site_url in notification contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
kiblik committed Oct 16, 2024
1 parent 6b79840 commit 3c3100b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/templates/dojo/notifications.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h3>
$(".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(); });
});
</script>
{% endblock postscript %}

0 comments on commit 3c3100b

Please sign in to comment.