From 8da3d5d0ea69aa9fc991c136ba6274cfc5f459ba Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Tue, 24 Nov 2009 09:52:41 +0100 Subject: bugfix for empty history --- edit_columns.rb | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'edit_columns.rb') diff --git a/edit_columns.rb b/edit_columns.rb index 5033a48..c331c8d 100755 --- a/edit_columns.rb +++ b/edit_columns.rb @@ -117,21 +117,35 @@ if urevs.max UNDO end - if rrevs.min $html << <
- + +REDO + if rrevs.min + $html << < #{hidden} +REDO + end + $html << < REDO - urhist += rrevs - end + urhist += rrevs + + $html << < +
+
+ +
+
+ +READY $html << "" $html << (urhist).to_html(urevs.max.rev,"") -- cgit v1.2.3