2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-16 01:36:29 +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

@@ -141,6 +141,7 @@
<!-- general JS -->
<script defer type='text/javascript' src="{% static 'script/inventree/inventree.js' %}"></script>
<script defer type='text/javascript' src="{% static 'script/inventree/message.js' %}"></script>
<!-- dynamic javascript templates -->
<script defer type='text/javascript' src="{% url 'calendar.js' %}"></script>