Project

General

Profile

Actions

Patch #15982

open

Inconsitent wiki history functionaility

Added by Daniel Felix about 10 years ago. Updated about 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Replace this source:trunk/app/views/wiki/history.html.erb#L25 line:
<td class="checkbox"><%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}") if show_diff && (line_num > 1) %></td>

with:
<td class="checkbox"><%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}", :onclick => "$('#cb-#{line_num-1}').attr('checked', true);") if show_diff && (line_num > 1) %></td>

This way the click behaviour on the second checkbox row (to) would be the same as on the first (from).

Best regards,
Daniel

Actions

Also available in: Atom PDF