mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 21:45:39 +00:00
Refactor sidebar for "stock item" page
This commit is contained in:
@ -1114,4 +1114,6 @@
|
||||
var SalePriceChart = loadSellPricingChart($('#SalePriceChart'), salepricedata)
|
||||
{% endif %}
|
||||
|
||||
enableSidebar('part');
|
||||
|
||||
{% endblock %}
|
||||
|
@ -216,13 +216,6 @@
|
||||
{% block js_ready %}
|
||||
{{ block.super }}
|
||||
|
||||
enableSidebar(
|
||||
'part',
|
||||
{
|
||||
default: 'part-details',
|
||||
}
|
||||
);
|
||||
|
||||
{% if part.image %}
|
||||
$('#part-thumb').click(function() {
|
||||
showModalImage('{{ part.image.url }}');
|
||||
|
Reference in New Issue
Block a user