mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +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:
		@@ -1085,6 +1085,4 @@
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    {% include "panel/plugin_javascript.html" %}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -209,6 +209,9 @@
 | 
				
			|||||||
<script type='text/javascript'>
 | 
					<script type='text/javascript'>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$(document).ready(function () {
 | 
					$(document).ready(function () {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    {% include "panel/plugin_javascript.html" %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% block js_ready %}
 | 
					{% block js_ready %}
 | 
				
			||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user