diff --git a/module/program/js/browse.ui.js b/module/program/js/browse.ui.js index 9a2feea1dd..cc6708023b 100644 --- a/module/program/js/browse.ui.js +++ b/module/program/js/browse.ui.js @@ -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;