From d03009e9a099dfc4c0d21338c7188920d4533722 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Tue, 16 Apr 2024 18:58:45 +0000 Subject: [PATCH] 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 --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index d6d40e943..910f1f431 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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};"