From 48143b16d37f5150f0497359f859c95ead536e11 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 7 Nov 2015 14:01:53 +0000 Subject: Don't use 100% width for date fields (#19097). git-svn-id: http://svn.redmine.org/redmine/trunk@14828 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index fce5d6e22..0d15f2cd4 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1143,7 +1143,7 @@ module ApplicationHelper def calendar_for(field_id) include_calendar_headers_tags - javascript_tag("$(function() { $('##{field_id}').datepicker(datepickerOptions); });") + javascript_tag("$(function() { $('##{field_id}').addClass('date').datepicker(datepickerOptions); });") end def include_calendar_headers_tags -- cgit v1.2.3