mirror of
https://github.com/grocy/grocy.git
synced 2025-10-15 01:37:13 +00:00
Simplified "checkboxUncheckedValue" handling
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user