Avoid memory error on browser side

This commit is contained in:
Laurent Destailleur
2024-07-24 02:19:49 +02:00
parent 7595609be2
commit 2bdcbabeae
2 changed files with 10 additions and 3 deletions

View File

@@ -6405,9 +6405,10 @@ function print_fleche_navigation($page, $file, $options = '', $nextpage = 0, $be
if (empty($hidenavigation)) {
if ((int) $limit > 0 && empty($hideselectlimit)) {
$pagesizechoices = '10:10,15:15,20:20,25:25,50:50,100:100,250:250,500:500,1000:1000';
$pagesizechoices .= ',5000:5000,10000:10000,20000:20000';
//$pagesizechoices.=',0:'.$langs->trans("All"); // Not yet supported
//$pagesizechoices.=',2:2';
$pagesizechoices .= ',5000:5000,10000:10000';
//$pagesizechoices .= ',20000:20000'; // Memory trouble on browsers
//$pagesizechoices .= ',0:'.$langs->trans("All"); // Not yet supported
//$pagesizechoices .= ',2:2';
if (getDolGlobalString('MAIN_PAGESIZE_CHOICES')) {
$pagesizechoices = getDolGlobalString('MAIN_PAGESIZE_CHOICES');
}

View File

@@ -3707,6 +3707,9 @@ div.tabBar {
border-top: 1px solid #BBB;
/* border-bottom: 1px solid #AAA; */
width: auto;
background: var(--colorbackbody);
}
table.noborder {
background: var(--colorbacktabcard1);
}
div.tabBar tr.titre td {
@@ -4978,6 +4981,9 @@ a.valignmiddle.dashboardlineindicator {
.height30 {
height: 30px !important;
}
.height50 {
height: 50px !important;
}
tr.box_titre {
height: 26px;