* Fix js error.

This commit is contained in:
tianshujie
2024-02-01 14:04:22 +08:00
parent 9354ca1247
commit 35f33fcd2d
+1 -1
View File
@@ -70,7 +70,7 @@ $(document).off('click', '[data-formaction]').on('click', '[data-formaction]', f
window.footerSummary = function(element, checkedIdList)
{
if(typeof(checkedIdList) == 'undefined') return {};
if(checkedIdList.length == 0) return {html: element.options.customData.pageSummary, className: 'text-dark'};
if(!checkedIdList || checkedIdList.length == 0) return {html: element.options.customData.pageSummary, className: 'text-dark'};
const dtable = zui.DTable.query($('#projectviews'));
let totalProjects = 0;