2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-06 13:40:56 +00:00

Remove custom javascript from auth pages (#3250)

* Remove custom javascript from auth pages

- Unauthorized user cannot load these scripts
- Simply throws console errors

* Split basic "show message" function out into new js file

* Split more generic functions out into new .js file

* javascript linting fix
This commit is contained in:
Oliver
2022-06-25 07:45:50 +10:00
committed by GitHub
parent 5b54979202
commit 16ac1d97f7
6 changed files with 136 additions and 136 deletions

View File

@ -70,6 +70,7 @@
<!-- general JS -->
<script type='text/javascript' src="{% static 'script/inventree/inventree.js' %}"></script>
<script type='text/javascript' src="{% static 'script/inventree/message.js' %}"></script>
<script type='text/javascript' src="{% i18n_static 'notification.js' %}"></script>
{% block body_scripts_inventree %}
{% endblock %}