From: Jean-Philippe Lang Date: Wed, 10 Mar 2010 19:16:03 +0000 (+0000) Subject: Removes broken javascript on wiki history. X-Git-Tag: 1.0.0~236 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3e2e5a0a0c840e8c5a023ab0b975ff7e858b6497;p=redmine.git Removes broken javascript on wiki history. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3559 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/wiki/history.rhtml b/app/views/wiki/history.rhtml index 55620b66b..e3c4ecc6b 100644 --- a/app/views/wiki/history.rhtml +++ b/app/views/wiki/history.rhtml @@ -20,7 +20,7 @@ "> <%= link_to ver.version, :action => 'index', :page => @page.title, :version => ver.version %> <%= radio_button_tag('version', ver.version, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < @versions.size) %> - <%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true || $('version_from').value > #{ver.version}) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %> + <%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}") if show_diff && (line_num > 1) %> <%= format_time(ver.updated_on) %> <%= link_to_user ver.author %> <%=h ver.comments %>