mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fixed price break row actions after sorting
This commit is contained in:
parent
720184790e
commit
ffaa6ee3a9
@ -40,7 +40,7 @@ $('#price-break-table').inventreeTable({
|
|||||||
part: {{ part.id }},
|
part: {{ part.id }},
|
||||||
},
|
},
|
||||||
url: "{% url 'api-part-supplier-price' %}",
|
url: "{% url 'api-part-supplier-price' %}",
|
||||||
onLoadSuccess: function() {
|
onPostBody: function() {
|
||||||
var table = $('#price-break-table');
|
var table = $('#price-break-table');
|
||||||
|
|
||||||
table.find('.button-price-break-delete').click(function() {
|
table.find('.button-price-break-delete').click(function() {
|
||||||
|
@ -48,7 +48,7 @@ $('#price-break-table').inventreeTable({
|
|||||||
part: {{ part.id }},
|
part: {{ part.id }},
|
||||||
},
|
},
|
||||||
url: "{% url 'api-part-sale-price-list' %}",
|
url: "{% url 'api-part-sale-price-list' %}",
|
||||||
onLoadSuccess: function() {
|
onPostBody: function() {
|
||||||
var table = $('#price-break-table');
|
var table = $('#price-break-table');
|
||||||
|
|
||||||
table.find('.button-price-break-delete').click(function() {
|
table.find('.button-price-break-delete').click(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user