]> wagnertech.de Git - mfinanz.git/blobdiff - js/kivi.Order.js
Neuer Part Controller
[mfinanz.git] / js / kivi.Order.js
index c4aabf7631fe1589d64b5778f9cebc61184aead9..db22f5c0ddef29e251444f2af726a7797f222956 100644 (file)
@@ -468,6 +468,13 @@ $(function(){
 
   $('#row_table_id').on('sortstop', function(event, ui) {
     $('#row_table_id thead a img').remove();
+    if (part_type === 'assortment') {
+      $('#assortment thead a img').remove();
+      data = $('#assortment :input').serializeArray();
+    } else if ( part_type === 'assembly') {
+      $('#assembly thead a img').remove();
+      data = $('#assembly :input').serializeArray();
+    };
     kivi.Order.renumber_positions();
   });
 });