Fixed loading of js and modals

This commit is contained in:
Johannes Randerath 2024-09-01 20:47:44 +02:00
parent 61708e5199
commit 7a4a878c7c
3 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
$(function() { document.addEventListener("DOMContentLoaded", function() {
$('.edit_column_btn').attr('hidden', false); $('.edit_column_btn').attr('hidden', false);
}); });

View File

@ -12,13 +12,14 @@
</div> </div>
{% endblock share %} {% endblock share %}
{% block more_modals %} {% block modals %}
{{ super() }} {{ super() }}
<!-- Table owned specific modals --> <!-- Table owned specific modals -->
{% include "table_owned_modals" %} {% include "table_owned_modals" %}
{% endblock more_modals %} {% endblock modals %}
{% block script %} {% block script %}
{{ super() }}
<!-- Table owned specific functionality --> <!-- Table owned specific functionality -->
<script type="text/javascript" src="/js/table_owned.js"></script> <script type="text/javascript" src="/js/table_owned.js"></script>
{% endblock script %} {% endblock script %}