* my: bug #47024, fix cannot scroll in table of page "my-bug".

This commit is contained in:
sunhao
2024-03-15 11:35:30 +08:00
parent f95a19a236
commit b26dea6007
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -41,5 +41,5 @@ window.setStatistics = function(element, checks)
{
if(checks.length) return checkedSummary.replace('{checked}', checks.length);
return element.options.customData.pageSummary;
return element.options.customData ? element.options.customData.pageSummary : null;
}
+1 -1
View File
@@ -106,7 +106,7 @@ dtable
set::footToolbar($footToolbar),
set::footPager(usePager()),
set::emptyTip($lang->bug->notice->noBug),
set::customData($type == 'resolvedBy' ? array('pageSummary' => $summary) : null)
set::customData($type == 'resolvedBy' ? array('pageSummary' => $summary) : array())
);
render();