mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 17:03:22 -05:00
Closes #12 enhancement.
This commit is contained in:
parent
28ded7650e
commit
b63df15721
@ -5,10 +5,13 @@ $(function(){
|
||||
$.ajaxSetup({async:false});
|
||||
|
||||
var contact_id = $("#contact_id").text();
|
||||
|
||||
|
||||
if (contact_id) {
|
||||
|
||||
$("table").attr("width","")
|
||||
$("table").attr("width","");
|
||||
var prev = Number(contact_id) - 1, next = Number(contact_id) + 1;
|
||||
$(".stats-left").attr("href","/individual_history_log.php?contact_id=" + prev);
|
||||
$(".stats-right").attr("href","/individual_history_log.php?contact_id=" + next);
|
||||
|
||||
// name
|
||||
$.post("json/reports.php", { name: 1, contact_id: contact_id }, function (data) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user