X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/974e8264c338823486ae5d4fcece5c4712e66833..fdebfd5d0c558cb156849b01c9c9268b29dc443b:/js/kivi.Part.js diff --git a/js/kivi.Part.js b/js/kivi.Part.js index bf35cb874..7680551b8 100644 --- a/js/kivi.Part.js +++ b/js/kivi.Part.js @@ -744,6 +744,14 @@ namespace('kivi.Part', function(ns) { if (!$(elt).data('part_picker')) $(elt).data('part_picker', new kivi.Part.Picker($(elt))); }); + + kivi.run_once_for('#customerprice_rows', 'customerprice_row_sort_renumber', function(elt) { + $(elt).on('sortstop', kivi.Part.customerprice_renumber_positions); + }); + + kivi.run_once_for('#makemodel_rows', 'makemodel_row_sort_renumber', function(elt) { + $(elt).on('sortstop', kivi.Part.makemodel_renumber_positions); + }); } ns.init = function() {