diff --git a/core/module/course/view/user/user.js.php b/core/module/course/view/user/user.js.php index 5d4a01d..c35fa27 100644 --- a/core/module/course/view/user/user.js.php +++ b/core/module/course/view/user/user.js.php @@ -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 = "", core.confirm(message, (function () { $(location).attr("href", _this.attr("href")) })) })); - (".userDeleteAll").on("click", (function () { + $(".userDeleteAll").on("click", (function () { var _this = $(this); return message = "", core.confirm(message, (function () { $(location).attr("href", _this.attr("href")) })) })); - $("#courseFilterGroup, #courseFilterFirstName, #courseFilterLastName").change(function () { - $("#courseFilterUserForm").submit(); - }); + })); \ No newline at end of file