From 6a2ca5e0342751b6d38a1a05ad25b5c0002d6e46 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 22 Jul 2012 13:29:26 +0000 Subject: JQuery in, Prototype/Scriptaculous out (#11445). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/wiki/history.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/wiki/history.html.erb') diff --git a/app/views/wiki/history.html.erb b/app/views/wiki/history.html.erb index fa9effd1a..005219e04 100644 --- a/app/views/wiki/history.html.erb +++ b/app/views/wiki/history.html.erb @@ -23,7 +23,7 @@ <% @versions.each do |ver| %> "> <%= link_to h(ver.version), :action => 'show', :id => @page.title, :project_id => @page.project, :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', ver.version, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('#cbto-#{line_num+1}').attr('checked', true);") if show_diff && (line_num < @versions.size) %> <%= 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 %> -- cgit v1.2.3