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 Nov 11, 2024
1 parent f092d81 commit 62ffa4e
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 62ffa4e

Please sign in to comment.