mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +01:00
21 lines
898 B
JavaScript
21 lines
898 B
JavaScript
$( function() {
|
|
$('table#prozess_monitor_list').on('afterreload',function() {
|
|
$(this).find('img.multibutton').on('click',function() {
|
|
if(confirm('Soll der Status des Auftrags wirklich umgestellt werden?')) {
|
|
$.ajax({
|
|
url: 'index.php?module=prozess_monitor&action=multibuttonchange&cmd=multibuttonclick',
|
|
type: 'POST',
|
|
dataType: 'json',
|
|
data: {
|
|
multibuttonId: $(this).data('multibuttonid'),
|
|
processmontorId: $(this).data('processmontorid'),
|
|
orderId: $(this).data('orderid'),
|
|
},
|
|
success: function(data) {
|
|
$('table#prozess_monitor_list').DataTable( ).ajax.reload();
|
|
}
|
|
});
|
|
}
|
|
});
|
|
});
|
|
}); |