Simplified "checkboxUncheckedValue" handling

This commit is contained in:
Bernd Bestel
2020-11-11 17:34:37 +01:00
parent 9949f30c2b
commit 9c81fc890b
19 changed files with 21 additions and 78 deletions

View File

@@ -664,6 +664,9 @@ $.extend(true, $.fn.dataTable.defaults, {
}
});
// serializeJSON defaults
$.serializeJSON.defaultOptions.checkboxUncheckedValue = "0";
$(Grocy.UserPermissions).each(function(index, item)
{
if (item.has_permission == 0)