Patch #13098 » small_datepicker_improvements.diff
app/helpers/application_helper.rb | ||
---|---|---|
1076 | 1076 |
"var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " + |
1077 | 1077 |
"showOn: 'button', buttonImageOnly: true, buttonImage: '" + |
1078 | 1078 |
path_to_image('/images/calendar.png') + |
1079 |
"', showButtonPanel: true};") |
|
1079 |
"', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true};")
|
|
1080 | 1080 |
jquery_locale = l('jquery.locale', :default => current_language.to_s) |
1081 | 1081 |
unless jquery_locale == 'en' |
1082 | 1082 |
tags << javascript_include_tag("i18n/jquery.ui.datepicker-#{jquery_locale}.js") |