do not prevent events, otherwise the checkbox doesn't work anymore

This commit is contained in:
Uwe Steinmann 2021-04-27 22:17:26 +02:00
parent 84fca7227c
commit e279a2f8e8

View File

@ -36,7 +36,7 @@ class SeedDMS_View_RemoveUserFromProcesses extends SeedDMS_Theme_Style {
?>
$(document).ready( function() {
$('body').on('click', 'label.checkbox', function(ev){
ev.preventDefault();
// ev.preventDefault();
$('#kkkk.ajax').data('action', $(this).data('action'));
$('#kkkk.ajax').trigger('update', {userid: $(this).data('userid'), task: $(this). data('task')});
});