From 5af7f60afa82fc874c4496e8cb41de13ec20e316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Tue, 27 Jul 2010 02:29:23 +0200 Subject: Add datepicker to add/edit --- static/js/add.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 static/js/add.js (limited to 'static') diff --git a/static/js/add.js b/static/js/add.js new file mode 100644 index 0000000..76c1f4a --- /dev/null +++ b/static/js/add.js @@ -0,0 +1,6 @@ +$(document).ready(function(){ + $("input[name=date]").datepicker({ + dateFormat: 'dd.mm.yy', + firstDay: 1 + }); +}) -- cgit v1.2.3