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

Moved category templates processing to Part save() method

This commit is contained in:
eeintech
2020-11-04 09:52:26 -05:00
parent 9eba564ff6
commit 1c14c2237a
5 changed files with 57 additions and 45 deletions

View File

@ -37,7 +37,8 @@
{% block js_ready %}
{{ block.super }}
{# Convert dropdown to select2 format #}
$(document).ready(function() {
attachSelect('#category-select');
});
@ -78,7 +79,6 @@
]
});
$("#new-param").click(function() {
launchModalForm("{% url 'category-param-template-create' category.pk %}", {
success: function() {
@ -110,6 +110,5 @@
}
});
});
{% endif %}
{% endblock %}