Add secondary modal to BOM
This commit is contained in:
parent
9d50f2a6ac
commit
76e6094977
|
|
@ -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' %}",
|
||||||
|
},
|
||||||
|
]
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue