Prevent user to update employee without selecting at least one grant

(#420)
This commit is contained in:
jekkos
2016-03-23 08:38:13 +01:00
parent a3af051d43
commit 4f3a845702

View File

@@ -106,7 +106,7 @@ $(document).ready(function()
{
$.validator.addMethod("module", function (value, element) {
var result = true;
var result = $("#permission_list input").is(":checked");
$(".module").each(function(index, element)
{
var parent = $(element).parent();