summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/history.html.erb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-09-14 14:17:52 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-09-14 14:17:52 +0000
commitcc688bb1b1142761e843c30f1f537b693b29542b (patch)
tree9fa043d46e2f9016c48db0d7773d0727d684fa31 /app/views/wiki/history.html.erb
parent0b8645007fdf26aff728bdee208ddd1b233e62b8 (diff)
downloadredmine-cc688bb1b1142761e843c30f1f537b693b29542b.tar.gz
redmine-cc688bb1b1142761e843c30f1f537b693b29542b.zip
Backport r13313 from rails-4.1 to trunk.
Upgrade to JQuery 1.11.1 git-svn-id: http://svn.redmine.org/redmine/trunk@13408 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/wiki/history.html.erb')
-rw-r--r--app/views/wiki/history.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wiki/history.html.erb b/app/views/wiki/history.html.erb
index 56a447855..ebac6d514 100644
--- a/app/views/wiki/history.html.erb
+++ b/app/views/wiki/history.html.erb
@@ -21,7 +21,7 @@
<% @versions.each do |ver| %>
<tr class="wiki-page-version <%= cycle("odd", "even") %>">
<td class="id"><%= link_to h(ver.version), :action => 'show', :id => @page.title, :project_id => @page.project, :version => ver.version %></td>
- <td class="checkbox"><%= 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) %></td>
+ <td class="checkbox"><%= radio_button_tag('version', ver.version, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('#cbto-#{line_num+1}').prop('checked', true);") if show_diff && (line_num < @versions.size) %></td>
<td class="checkbox"><%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}") if show_diff && (line_num > 1) %></td>
<td class="updated_on"><%= format_time(ver.updated_on) %></td>
<td class="author"><%= link_to_user ver.author %></td>