Browse Source

Closes #12 enhancement.

devel
Jonathan Rosenbaum 7 years ago
parent
commit
b63df15721
  1. 7
      js/reports.js

7
js/reports.js

@ -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…
Cancel
Save