2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-01 04:56:45 +00:00

Merge pull request #1627 from eeintech/price_break_sort_fix

Fixed price break row actions after sorting
This commit is contained in:
Oliver 2021-06-03 09:18:49 +10:00 committed by GitHub
commit 92f77b6bbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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() {