diff options
author | Keith Wood <kbwood.au@gmail.com> | 2009-04-10 07:55:52 +0000 |
---|---|---|
committer | Keith Wood <kbwood.au@gmail.com> | 2009-04-10 07:55:52 +0000 |
commit | 5235b3bbd51dbc139ad8405eb76aa5e8609fd34e (patch) | |
tree | 6527f85cfed338e9e6eb09471da55e92fcd609b4 /demos/datepicker | |
parent | b94d5cf673d94e3a68b7111afe74b22a716d5632 (diff) | |
download | jquery-ui-5235b3bbd51dbc139ad8405eb76aa5e8609fd34e.tar.gz jquery-ui-5235b3bbd51dbc139ad8405eb76aa5e8609fd34e.zip |
Datepicker: fixed #4085 - Can not display year and month correctly in Japanese
Diffstat (limited to 'demos/datepicker')
-rw-r--r-- | demos/datepicker/localization.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index 39bc66095..36d90f012 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -50,11 +50,10 @@ <link type="text/css" href="../demos.css" rel="stylesheet" /> <script type="text/javascript"> $(function() { - $.datepicker.setDefaults($.extend({showMonthAfterYear: false}, $.datepicker.regional[''])); + $.datepicker.setDefaults($.datepicker.regional['']); $("#datepicker").datepicker($.datepicker.regional['fr']); $("#locale").change(function() { - $('#datepicker').datepicker('option', $.extend({showMonthAfterYear: false}, - $.datepicker.regional[$(this).val()])); + $('#datepicker').datepicker('option', $.datepicker.regional[$(this).val()]); }); }); </script> |