2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00

Load stock location pages "on demand"

This commit is contained in:
Oliver Walters
2022-03-19 07:50:37 +11:00
parent 52a0665e32
commit c3ea94827b
2 changed files with 35 additions and 29 deletions

View File

@ -223,13 +223,15 @@
{{ block.super }}
{% if category %}
loadParametricPartTable(
"#parametric-part-table",
{
headers: {{ headers|safe }},
data: {{ parameters|safe }},
}
);
onPanelLoad('parameters', function() {
loadParametricPartTable(
"#parametric-part-table",
{
headers: {{ headers|safe }},
data: {{ parameters|safe }},
}
);
});
$("#toggle-starred").click(function() {
toggleStar({