From b00769f606256088191754b28944148b8fb496cc Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 14 Oct 2006 07:47:25 +0000 Subject: [PATCH] git-svn-id: http://redmine.rubyforge.org/svn/trunk@30 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- redmine/app/helpers/application_helper.rb | 2 +- redmine/public/images/calendar.png | Bin 0 -> 196 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 redmine/public/images/calendar.png diff --git a/redmine/app/helpers/application_helper.rb b/redmine/app/helpers/application_helper.rb index d9bafdbcd..d3fc00cd5 100644 --- a/redmine/app/helpers/application_helper.rb +++ b/redmine/app/helpers/application_helper.rb @@ -123,7 +123,7 @@ module ApplicationHelper end def calendar_for(field_id) - image_tag("calendar.gif", {:id => "#{field_id}_trigger",:class => "calendar-trigger"}) + + image_tag("calendar", {:id => "#{field_id}_trigger",:class => "calendar-trigger"}) + javascript_tag("Calendar.setup({inputField : '#{field_id}', ifFormat : '%Y-%m-%d', button : '#{field_id}_trigger' });") end end diff --git a/redmine/public/images/calendar.png b/redmine/public/images/calendar.png new file mode 100644 index 0000000000000000000000000000000000000000..aa269da38a6ca253248f18b8f1e557f0c0868991 GIT binary patch literal 196 zcmeAS@N?(olHy`uVBq!ia0vp^0zk~q!VDzkV}oRX6nlxMuPggCE