From 720b460ba6a8e0498ac25770907bbb983df31378 Mon Sep 17 00:00:00 2001 From: Ca-Phun Ung Date: Fri, 2 Jan 2009 13:45:18 +0000 Subject: demos/index.html - fixed resetDemos function so year follows month by default. --- demos/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos') diff --git a/demos/index.html b/demos/index.html index 51c4a9fcd..6c60f6bad 100644 --- a/demos/index.html +++ b/demos/index.html @@ -165,8 +165,8 @@ } function resetDemos() { - $.datepicker.setDefaults($.datepicker.regional['']); - $(".ui-dialog-content").remove(); + $.datepicker.setDefaults($.extend({showMonthAfterYear: false}, $.datepicker.regional[''])); + $(".ui-dialog-content").remove(); } }); -- cgit v1.2.3