mirror of
https://github.com/inventree/InvenTree
synced 2025-07-29 08:43:20 +00:00
Refactor the plugin javascript template
- Can appear in "base.html" - Only renders anything if there are actually plugins available for the page
This commit is contained in:
parent
c80b36fc2f
commit
71128a1c8e
2 changed files with 3 additions and 2 deletions
InvenTree
|
@ -1085,6 +1085,4 @@
|
|||
}
|
||||
});
|
||||
|
||||
{% include "panel/plugin_javascript.html" %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -209,6 +209,9 @@
|
|||
<script type='text/javascript'>
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
{% include "panel/plugin_javascript.html" %}
|
||||
|
||||
{% block js_ready %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue