2
0
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:
Oliver
2021-10-29 00:40:16 +11:00
parent 59acf45ab9
commit e0d3facfac
7 changed files with 24 additions and 119 deletions

View File

@ -1114,4 +1114,6 @@
var SalePriceChart = loadSellPricingChart($('#SalePriceChart'), salepricedata)
{% endif %}
enableSidebar('part');
{% endblock %}

View File

@ -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 }}');