Merge pull request #2024 from SchrodingersGat/category-param-fix
Simple fix for category parameter settings
This commit is contained in:
commit
e261fa6b29
|
|
@ -208,7 +208,11 @@ $("#new-cat-param").click(function() {
|
|||
|
||||
launchModalForm(`/part/category/${pk}/parameters/new/`, {
|
||||
success: function() {
|
||||
$("#cat-param-table").bootstrapTable('refresh');
|
||||
$("#cat-param-table").bootstrapTable('refresh', {
|
||||
query: {
|
||||
category: pk,
|
||||
}
|
||||
});
|
||||
},
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue