]> source.dussan.org Git - redmine.git/commitdiff
Merged r9452 from trunk.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 20 Apr 2012 06:13:37 +0000 (06:13 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 20 Apr 2012 06:13:37 +0000 (06:13 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9453 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/timelog/_date_range.html.erb

index d95dfab95fb550d60aaf182a5598d51998add5e0..95e604dcf7fd14c4a1e8cfc7e2463f92577b8e1f 100644 (file)
@@ -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')),