* Change the checked error of the priv package.

This commit is contained in:
tianshujie
2023-08-01 17:21:37 +08:00
parent 5c5ab19d95
commit 38e5dee3aa
+1 -1
View File
@@ -245,7 +245,7 @@ function changeParentChecked($item, moduleName, packageID)
}
var packageAllPrivs = $item.closest('tbody').find('.group-item[data-divid=' + moduleName + packageID + ']:not(.menus-browse)').length;
var packageSelectPrivs = $item.closest('tbody').find('.group-item[data-divid=' + moduleName + packageID + ']:not(.menus-browse)').find('input[type=checkbox][checked=true]').length;
var packageSelectPrivs = $item.closest('tbody').find('.group-item[data-divid=' + moduleName + packageID + ']:not(.menus-browse)').find('input[type=checkbox]:checked').length;
var $packageItem = $item.closest('tbody').find('.package[data-divid=' + moduleName + packageID + ']');
if($item.closest('tbody').find('.menus.' + moduleName).length > 0)
{