Fix # more... line at the bottom when there are more results that are not displayed

This commit is contained in:
Nathan Gray 2009-01-07 16:47:00 +00:00
parent 48e7312a27
commit db48c553ab

View File

@ -316,7 +316,7 @@
$response->addScript("add_ajax_result('$result_id', '${row['id_field']}', '" . $row['title'] . "', '$html');");
$count++;
if($count > $GLOBALS['egw_info']['user']['preferences']['common']['maxmatchs']) {
$response->addScript("add_ajax_result('$result_id', '', '" . lang("%1 more...", (count($result_list) - $count)) . "');");
$response->addScript("add_ajax_result('$result_id', '', '', '" . lang("%1 more...", (count($result_list) - $count)) . "');");
break;
}
}