Wrap more into if (!is_ajax)
This commit is contained in:
parent
e2d858d638
commit
42b15654c4
|
@ -461,8 +461,9 @@ if (!$columns && support("table")) {
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!is_ajax()) {
|
||||||
echo "<div class='footer'><div>\n";
|
echo "<div class='footer'><div>\n";
|
||||||
if (($rows || $page) && !is_ajax()) {
|
if ($rows || $page) {
|
||||||
$exact_count = true;
|
$exact_count = true;
|
||||||
if ($_GET["page"] != "last") {
|
if ($_GET["page"] != "last") {
|
||||||
if ($limit == "" || (count($rows) < $limit && ($rows || !$page))) {
|
if ($limit == "" || (count($rows) < $limit && ($rows || !$page))) {
|
||||||
|
@ -563,6 +564,7 @@ if (!$columns && support("table")) {
|
||||||
echo "</form>\n";
|
echo "</form>\n";
|
||||||
echo (!$group && $select ? "" : script("tableCheck();"));
|
echo (!$group && $select ? "" : script("tableCheck();"));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_ajax()) {
|
if (is_ajax()) {
|
||||||
|
|
Loading…
Reference in a new issue