From a5355a7f3949c3b5ad69756b7cb08c6295fb63cf Mon Sep 17 00:00:00 2001 From: Stig Lindqvist Date: Thu, 10 May 2012 17:33:57 +1200 Subject: [PATCH] BUGFIX: DateField with calender do not format the date correctly after it's picked from the calendar. --- javascript/DateField.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/DateField.js b/javascript/DateField.js index fcbc0bb4f..bbe8e6d4e 100644 --- a/javascript/DateField.js +++ b/javascript/DateField.js @@ -20,7 +20,7 @@ // Initialize and open a datepicker // live() doesn't have "onmatch", and jQuery.entwine is a bit too heavyweight for this, so we need to do this onclick. - config.dateFormat = config.jqueryDateformat; + config.dateFormat = config.jquerydateformat; $(this).datepicker(config); }); }