Browse Source

Adds a link to dhhr.php

This file is currently not in devel, but it is being used for Positive Spin.
devel
Jonathan Rosenbaum 7 years ago
parent
commit
7286fc8c3e
  1. 9
      js/stats.js

9
js/stats.js

@ -41,6 +41,15 @@ $(function(){
e.preventDefault(); e.preventDefault();
}); });
$("#dhhr_hours").on("click keypress", function(e){
var range_display = range.pickmeup('get_date', true);
$.post("dhhr.php", {range1: range_display[0], range2: range_display[1]}, function (data) {
$("body").html(data);
//range.pickmeup.date($range_display[0]);
});
e.preventDefault();
});
$("#shops").on("click keypress", function(e){ $("#shops").on("click keypress", function(e){
var range_display = range.pickmeup('get_date', true); var range_display = range.pickmeup('get_date', true);
$.post("shops.php", {range1: range_display[0], range2: range_display[1]}, function (data) { $.post("shops.php", {range1: range_display[0], range2: range_display[1]}, function (data) {

Loading…
Cancel
Save