From 831602465fcf67cca1c2dff3241aa4eedfa946ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= Date: Mon, 7 Feb 2011 19:02:52 +0100 Subject: [PATCH] Remove broken javascript, also see upstream. upstream: http://www.redmine.org/projects/redmine/repository/revisions/3559 --- app/views/meeting_contents/history.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/meeting_contents/history.html.erb b/app/views/meeting_contents/history.html.erb index 04fe75a1ec..490a609169 100644 --- a/app/views/meeting_contents/history.html.erb +++ b/app/views/meeting_contents/history.html.erb @@ -17,8 +17,8 @@ <% @content_versions.each_with_index do |content_version,index| %> "> <%= link_to content_version.version, :action => 'show', :meeting_id => @meeting, :version => (content_version.version == @content.version ? nil : content_version.version) %> - <%= radio_button_tag('version_to', content_version.version, (index==0), :id => "checkbox-#{index}", :onclick => "$('checkbox-to-#{index+1}').checked=true;") if show_diff && (index < @content_versions.size-1) %> - <%= radio_button_tag('version_from', content_version.version, (index==1), :id => "checkbox-to-#{index}", :onclick => "if ($('checkbox-#{index}').checked==true || $('version_from').value > #{content_version.version}) {$('checkbox-#{index-1}').checked=true;}") if show_diff && (index > 0) %> + <%= radio_button_tag('version_to', content_version.version, (index==0), :id => "checkbox-from-#{index}", :onclick => "$('checkbox-to-#{index+1}').checked=true;") if show_diff && (index < @content_versions.size-1) %> + <%= radio_button_tag('version_from', content_version.version, (index==1), :id => "checkbox-to-#{index}") if show_diff && (index > 0) %> <%= format_time(content_version.updated_at) %> <%= content_version.author %> <%=h content_version.comment %>