Project

General

Profile

Patch #40559 » 0003-Fix-incorrect-icon-image-path-for-DatePicker-button.patch

Katsuya HIDAKA, 2024-04-15 06:19

View differences:

app/helpers/application_helper.rb
javascript_tag(
"var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " \
"showOn: 'button', buttonImageOnly: true, buttonImage: '" +
path_to_image('/images/calendar.png') +
asset_path('calendar.png') +
"', showButtonPanel: true, showWeek: true, showOtherMonths: true, " \
"selectOtherMonths: true, changeMonth: true, changeYear: true, " \
"beforeShow: beforeShowDatePicker};"
(8-8/8)