Fixed price break row actions after sorting

This commit is contained in:
eeintech 2021-06-01 14:22:00 -04:00
parent 720184790e
commit ffaa6ee3a9
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ $('#price-break-table').inventreeTable({
part: {{ part.id }},
},
url: "{% url 'api-part-supplier-price' %}",
onLoadSuccess: function() {
onPostBody: function() {
var table = $('#price-break-table');
table.find('.button-price-break-delete').click(function() {

View File

@ -48,7 +48,7 @@ $('#price-break-table').inventreeTable({
part: {{ part.id }},
},
url: "{% url 'api-part-sale-price-list' %}",
onLoadSuccess: function() {
onPostBody: function() {
var table = $('#price-break-table');
table.find('.button-price-break-delete').click(function() {