summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-20 06:13:37 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-20 06:13:37 +0000
commit2b2f721ef4184eef7f2ced028cf55bed0cf7d643 (patch)
treed67872ed2102a3bc8d70d29d02b71cdacf224621
parent62114336cf5b1ffcf975b0510fb89c21d9652ba7 (diff)
downloadredmine-2b2f721ef4184eef7f2ced028cf55bed0cf7d643.tar.gz
redmine-2b2f721ef4184eef7f2ced028cf55bed0cf7d643.zip
Merged r9452 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9453 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/timelog/_date_range.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/timelog/_date_range.html.erb b/app/views/timelog/_date_range.html.erb
index d95dfab95..95e604dcf 100644
--- a/app/views/timelog/_date_range.html.erb
+++ b/app/views/timelog/_date_range.html.erb
@@ -12,7 +12,7 @@
<p>
<%= label_tag "period_type_interval", l(:description_date_range_interval), :class => "hidden-for-sighted" %>
<%= radio_button_tag 'period_type', '2', @free_period, :onclick => 'Form.Element.enable("from");Form.Element.enable("to");Form.Element.disable("period");', :id => "period_type_interval" %>
-<span onclick="$('period_type_2').checked = true;">
+<span onclick="$('period_type_interval').checked = true;Form.Element.enable('from');Form.Element.enable('to');Form.Element.disable('period');">
<%= l(:label_date_from_to,
:start => ((label_tag "from", l(:description_date_from), :class => "hidden-for-sighted") +
text_field_tag('from', @from, :size => 10, :disabled => !@free_period) + calendar_for('from')),