summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-07 14:01:53 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-07 14:01:53 +0000
commit48143b16d37f5150f0497359f859c95ead536e11 (patch)
tree31454df3c4210f7c377a94468c89ed491682da44 /app
parentfd57979418f970b1583b8aa4a85717a0a8fd9163 (diff)
downloadredmine-48143b16d37f5150f0497359f859c95ead536e11.tar.gz
redmine-48143b16d37f5150f0497359f859c95ead536e11.zip
Don't use 100% width for date fields (#19097).
git-svn-id: http://svn.redmine.org/redmine/trunk@14828 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
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