Revision 28c19c1c
Von Kivitendo Admin vor fast 8 Jahren hinzugefügt
js/kivi.Order.js | ||
---|---|---|
468 | 468 |
|
469 | 469 |
$('#row_table_id').on('sortstop', function(event, ui) { |
470 | 470 |
$('#row_table_id thead a img').remove(); |
471 |
if (part_type === 'assortment') { |
|
472 |
$('#assortment thead a img').remove(); |
|
473 |
data = $('#assortment :input').serializeArray(); |
|
474 |
} else if ( part_type === 'assembly') { |
|
475 |
$('#assembly thead a img').remove(); |
|
476 |
data = $('#assembly :input').serializeArray(); |
|
477 |
}; |
|
478 | 471 |
kivi.Order.renumber_positions(); |
479 | 472 |
}); |
480 | 473 |
}); |
Auch abrufbar als: Unified diff
Part Controller - falschen Code aus kivi.Order.js wieder entfernt