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
1644 1644
          javascript_tag(
1645 1645
            "var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " \
1646 1646
              "showOn: 'button', buttonImageOnly: true, buttonImage: '" +
1647
            path_to_image('/images/calendar.png') +
1647
            asset_path('calendar.png') +
1648 1648
              "', showButtonPanel: true, showWeek: true, showOtherMonths: true, " \
1649 1649
              "selectOtherMonths: true, changeMonth: true, changeYear: true, " \
1650 1650
              "beforeShow: beforeShowDatePicker};"
(8-8/8)