// dashboard

This commit is contained in:
Kevin Granger
2013-11-06 12:14:49 +01:00
parent a890410a64
commit 05c71145c2
2 changed files with 123 additions and 125 deletions
@@ -102,11 +102,11 @@ Date.prototype.format = function(format) {
}
$(document).ready(function() {
if (date_subtitle === undefined)
date_subtitle = '(from %s to %s)';
if (typeof date_subtitle === "undefined")
var date_subtitle = '(from %s to %s)';
if (date_format === undefined)
date_format = 'Y-m-d';
if (typeof date_format === "undefined")
var date_format = 'Y-m-d';
$('#date-start').change(function() {
start = Date.parseDate($('#date-start').val(), 'Y-m-d');