Wrap more into if (!is_ajax)

This commit is contained in:
Jakub Vrana 2018-02-09 23:09:05 +01:00
parent e2d858d638
commit 42b15654c4

View file

@ -461,8 +461,9 @@ if (!$columns && support("table")) {
echo "</table>\n";
}
if (!is_ajax()) {
echo "<div class='footer'><div>\n";
if (($rows || $page) && !is_ajax()) {
if ($rows || $page) {
$exact_count = true;
if ($_GET["page"] != "last") {
if ($limit == "" || (count($rows) < $limit && ($rows || !$page))) {
@ -564,6 +565,7 @@ if (!$columns && support("table")) {
echo (!$group && $select ? "" : script("tableCheck();"));
}
}
}
if (is_ajax()) {
ob_end_clean();