Skip to content
Snippets Groups Projects
Commit 3d591db5 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Fix links to js files in week_view template

parent 387550ab
No related branches found
No related tags found
1 merge request!275Resolve "Week selection should refresh the page"
Pipeline #60692 failed
...@@ -9,6 +9,11 @@ and this project adheres to `Semantic Versioning`_. ...@@ -9,6 +9,11 @@ and this project adheres to `Semantic Versioning`_.
Unreleased Unreleased
---------- ----------
Fixed
~~~~~
* The week overview page was not refreshed when a new week was selected in the dropdown.
`2.0.1`_ - 2022-02-12 `2.0.1`_ - 2022-02-12
--------------------- ---------------------
......
...@@ -41,9 +41,9 @@ ...@@ -41,9 +41,9 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<script type="text/javascript" src="{% static " js/helper.js" %}"></script> <script type="text/javascript" src="{% static "js/helper.js" %}"></script>
{{ week_select|json_script:"week_select" }} {{ week_select|json_script:"week_select" }}
<script type="text/javascript" src="{% static " js/chronos/week_select.js" %}"></script> <script type="text/javascript" src="{% static "js/chronos/week_select.js" %}"></script>
<div class="row"> <div class="row">
<div id="toggle-row" class="col s12 m8 l10 {% if lesson_periods %}pre-hidden{% endif %}"> <div id="toggle-row" class="col s12 m8 l10 {% if lesson_periods %}pre-hidden{% endif %}">
<form method="post" action=""> <form method="post" action="">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment