From e20ab23ab632b3caecedd1e1bf0b39b93620b0fd Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Wed, 6 Mar 2024 14:19:39 +0800 Subject: [PATCH] * Adjust program statistics. --- module/program/js/browse.ui.js | 1 + 1 file changed, 1 insertion(+) diff --git a/module/program/js/browse.ui.js b/module/program/js/browse.ui.js index cc6708023b..e3bdbd3151 100644 --- a/module/program/js/browse.ui.js +++ b/module/program/js/browse.ui.js @@ -70,6 +70,7 @@ $(document).off('click', '[data-formaction]').on('click', '[data-formaction]', f window.footerSummary = function(element, checkedIdList) { if(typeof(checkedIdList) == 'undefined') return {}; + if(typeof checkedIdList == 'string') return {html: checkedIdList, className: 'text-dark'}; if(!checkedIdList || checkedIdList.length == 0) return {html: element.options.customData.pageSummary, className: 'text-dark'}; const dtable = zui.DTable.query($('#projectviews'));