Add secondary modal to BOM

This commit is contained in:
Oliver Walters 2019-05-14 23:30:32 +10:00
parent 9d50f2a6ac
commit 76e6094977

View File

@ -83,7 +83,15 @@
{ {
success: function() { success: function() {
$("#bom-table").bootstrapTable('refresh'); $("#bom-table").bootstrapTable('refresh');
} },
secondary: [
{
field: 'sub_part',
label: 'New Part',
title: 'Create New Part',
url: "{% url 'part-create' %}",
},
]
} }
); );
}); });