fix filter

This commit is contained in:
Fred Tempez 2023-10-12 19:37:13 +02:00
parent 95885cf5f7
commit 44391a5769

View File

@ -12,19 +12,20 @@
*/
$(document).ready((function () {
(".userDelete").on("click", (function () {
$("#courseFilterGroup, #courseFilterFirstName, #courseFilterLastName").change(function () {
$("#courseFilterUserForm").submit();
});
$(".userDelete").on("click", (function () {
var _this = $(this);
return message = "<?php echo helper::translate('Confirmer la désinscription de cet utilisateur');?>", core.confirm(message, (function () {
$(location).attr("href", _this.attr("href"))
}))
}));
(".userDeleteAll").on("click", (function () {
$(".userDeleteAll").on("click", (function () {
var _this = $(this);
return message = "<?php echo helper::translate('Confirmer la désinscription de tous les utilisateur');?>", core.confirm(message, (function () {
$(location).attr("href", _this.attr("href"))
}))
}));
$("#courseFilterGroup, #courseFilterFirstName, #courseFilterLastName").change(function () {
$("#courseFilterUserForm").submit();
});
}));