2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00
- Can't edit build status directly
- Refresh BOM table on reload
- Hide Company tabs that are not yet functional
This commit is contained in:
Oliver Walters
2019-04-30 20:55:28 +10:00
parent fb89574c42
commit 7e7ac60a1a
4 changed files with 34 additions and 27 deletions

View File

@ -60,7 +60,14 @@
});
$("#bom-item-new").click(function () {
launchModalForm("{% url 'bom-item-create' %}?parent={{ part.id }}", {});
launchModalForm(
"{% url 'bom-item-create' %}?parent={{ part.id }}",
{
success: function() {
$("#bom-table").bootstrapTable('refresh');
}
}
);
});
{% else %}