1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 19:47:14 +00:00

Fix incorrect icon image path for DatePicker button (#40559, #39111).

Patch by Katsuya HIDAKA (hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@22784 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2024-04-16 18:58:45 +00:00
parent 49b7b30c5d
commit d03009e9a0

View File

@ -1644,7 +1644,7 @@ module ApplicationHelper
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};"