mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-22 17:02:09 -04:00
Prevent user to update employee without selecting at least one grant
(#420)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user