mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 21:16:46 +00:00
Add 'refresh' button for part parameter table (#3329)
* Add 'refresh' button for part parameter table * Override default URL behaviour for unit test (cherry picked from commit 2c12a695294c2785e82b7f469f79a7d1a5412e71)
This commit is contained in:
parent
0e157950dc
commit
2635327c51
@ -206,6 +206,12 @@
|
|||||||
<h4>{% trans "Part Parameters" %}</h4>
|
<h4>{% trans "Part Parameters" %}</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class='panel-content'>
|
<div class='panel-content'>
|
||||||
|
<div id='param-button-toolbar'>
|
||||||
|
<div class='btn-group' role='group'>
|
||||||
|
{% include "filter_list.html" with id="parameters" %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<table class='table table-striped table-condensed' data-toolbar='#param-button-toolbar' id='parametric-part-table'>
|
<table class='table table-striped table-condensed' data-toolbar='#param-button-toolbar' id='parametric-part-table'>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1198,6 +1198,8 @@ function loadRelatedPartsTable(table, part_id, options={}) {
|
|||||||
*/
|
*/
|
||||||
function loadParametricPartTable(table, options={}) {
|
function loadParametricPartTable(table, options={}) {
|
||||||
|
|
||||||
|
setupFilterList('parameters', $(table), '#filter-list-parameters');
|
||||||
|
|
||||||
var columns = [
|
var columns = [
|
||||||
{
|
{
|
||||||
field: 'name',
|
field: 'name',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user