]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker demo (localization): Add English as an option.
authorScott González <scott.gonzalez@gmail.com>
Tue, 26 Mar 2013 18:08:28 +0000 (14:08 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 17 Apr 2013 18:53:37 +0000 (14:53 -0400)
(cherry picked from commit 8ad8cea69590cbaddc143732e001c8d769b9f204)

demos/datepicker/localization.html

index d788108d1263b3e57173034359a4924c9a654865..67d55fd94bf65c151afe9de95e99c8a38bbc30b5 100644 (file)
@@ -15,7 +15,6 @@
        <link rel="stylesheet" href="../demos.css">
        <script>
        $(function() {
-               $.datepicker.setDefaults( $.datepicker.regional[ "" ] );
                $( "#datepicker" ).datepicker( $.datepicker.regional[ "fr" ] );
                $( "#locale" ).change(function() {
                        $( "#datepicker" ).datepicker( "option",
@@ -30,6 +29,7 @@
        <select id="locale">
                <option value="ar">Arabic (&#8235;(&#1575;&#1604;&#1593;&#1585;&#1576;&#1610;&#1577;</option>
                <option value="zh-TW">Chinese Traditional (&#32321;&#39636;&#20013;&#25991;)</option>
+               <option value="">English</option>
                <option value="fr" selected="selected">French (Fran&ccedil;ais)</option>
                <option value="he">Hebrew (&#8235;(&#1506;&#1489;&#1512;&#1497;&#1514;</option>
        </select></p>