Update max dropdown if changed from a different tab for some reason.

This commit is contained in:
Squidly271 2022-04-03 11:02:32 -04:00
parent 8ef852b14b
commit c4afb3a821
3 changed files with 4 additions and 1 deletions

View File

@ -21,4 +21,4 @@ da3b4f9b73c5c3bf65be6c42d68b51f9 ./scripts/showStatistics.php
34554a56611dfe625889c82afd5138de ./scripts/updatePluginSupport.php
0254b0a66007c3f6e32e7d259e8ee443 ./skins/Narrow/css.php
639c5146c5880a617fe15f603b1cffa3 ./skins/Narrow/skin.html
8f7268607edac84ba42708695d0e597e ./skins/Narrow/skin.php
40af3aa0f51ad6823e935c692ac63135 ./skins/Narrow/skin.php

View File

@ -316,6 +316,9 @@ function my_display_apps($file,$pageNumber=1,$selectedApps=false,$startup=false)
$displayHeader .= "<script>showSidebarApp('{$template['Path']}','{$template['Name']}');</script>";
}
}
// Handle MaxPerPage changing on a different tab
$displayHeader .= "<script>changeMax({$caSettings['maxPerPage']});</script>";
return "$displayHeader$ct";
}