diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-04-07 17:56:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-04-07 17:56:32 +0000 |
commit | f025b16be747bf7ab7b1cae470eca28b77f7ada9 (patch) | |
tree | c0e506a4374a3346e41c42a43c0734c310c54543 /app/views/timelog | |
parent | 5d3454853956adee21518a1fc891b26f36c3c294 (diff) | |
download | redmine-f025b16be747bf7ab7b1cae470eca28b77f7ada9.tar.gz redmine-f025b16be747bf7ab7b1cae470eca28b77f7ada9.zip |
Fix date range filter js behaviour and css fix for IE.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1339 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r-- | app/views/timelog/_date_range.rhtml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/views/timelog/_date_range.rhtml b/app/views/timelog/_date_range.rhtml index a54f7a2f0..ed84b16cf 100644 --- a/app/views/timelog/_date_range.rhtml +++ b/app/views/timelog/_date_range.rhtml @@ -1,4 +1,4 @@ -<fieldset><legend><%= l(:label_date_range) %></legend> +<fieldset id="filters"><legend><%= l(:label_date_range) %></legend> <p> <%= radio_button_tag 'period_type', '1', !@free_period %> <%= select_tag 'period', options_for_period_select(params[:period]), @@ -7,11 +7,13 @@ </p> <p> <%= radio_button_tag 'period_type', '2', @free_period %> +<span onclick="$('period_type_2').checked = true;"> <%= l(:label_date_from) %> -<%= text_field_tag 'from', @from, :size => 10, :onfocus => '$("period_type_2").checked = true;' %> <%= calendar_for('from') %> +<%= text_field_tag 'from', @from, :size => 10 %> <%= calendar_for('from') %> <%= l(:label_date_to) %> -<%= text_field_tag 'to', @to, :size => 10, :onfocus => '$("period_type_2").checked = true;' %> <%= calendar_for('to') %> -<%= submit_tag l(:button_apply), :name => nil, :onclick => '$("period_type_2").checked = true;' %> +<%= text_field_tag 'to', @to, :size => 10 %> <%= calendar_for('to') %> +</span> +<%= submit_tag l(:button_apply), :name => nil %> </p> </fieldset> |