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

@ -40,6 +40,15 @@ $(function(){
});
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){
var range_display = range.pickmeup('get_date', true);

Loading…
Cancel
Save