From a7602a57ca72bbc0f83534824acda089ee8a77f1 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 28 Jun 2020 16:36:33 +0000 Subject: [PATCH] fix source indent at ApplicationHelper#include_calendar_headers_tags git-svn-id: http://svn.redmine.org/redmine/trunk@19837 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index c314c9c7c..b5e44b1e0 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1544,8 +1544,9 @@ module ApplicationHelper # Redmine uses 1..7 (monday..sunday) in settings and locales # JQuery uses 0..6 (sunday..saturday), 7 needs to be changed to 0 start_of_week = start_of_week.to_i % 7 - tags << javascript_tag( - "var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " + + tags << + javascript_tag( + "var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " + "showOn: 'button', buttonImageOnly: true, buttonImage: '" + path_to_image('/images/calendar.png') + "', showButtonPanel: true, showWeek: true, showOtherMonths: true, " + -- 2.39.5