diff --git a/common/js/plugins/ui/rx_datepicker.js b/common/js/plugins/ui/rx_datepicker.js index 8c9c4d455..6673acea1 100644 --- a/common/js/plugins/ui/rx_datepicker.js +++ b/common/js/plugins/ui/rx_datepicker.js @@ -3,5 +3,11 @@ * @author MinSoo Kim **/ if(typeof current_lang !== "undefined" && current_lang !== 'en') { - jQuery.getScript(request_uri + "./common/js/plugins/ui/i18n/datepicker-"+ current_lang.replace("jp", "ja") +".js"); + jQuery.getScript(request_uri + "./common/js/plugins/ui/i18n/datepicker-"+ current_lang.replace("jp", "ja") +".js", function() { + var default_option = { + dateFormat:'yy-mm-dd' + }; + jQuery.extend(jQuery.datepicker.regional[current_lang.replace("jp", "ja")],default_option); + jQuery.datepicker.setDefaults( datepicker.regional[current_lang.replace("jp", "ja")] ); + }); } \ No newline at end of file diff --git a/modules/editor/components/poll_maker/tpl/popup.html b/modules/editor/components/poll_maker/tpl/popup.html index 662befbf1..b3ccc9b2d 100644 --- a/modules/editor/components/poll_maker/tpl/popup.html +++ b/modules/editor/components/poll_maker/tpl/popup.html @@ -20,7 +20,7 @@
- +