From 19409f822c901b4935b07493d741d479fbc119a0 Mon Sep 17 00:00:00 2001 From: Benjamin Kellermann Date: Mon, 23 Nov 2009 15:58:49 +0100 Subject: started to implement undo, added flatten option --- poll.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'poll.rb') diff --git a/poll.rb b/poll.rb index 66e2d5f..cf47f20 100644 --- a/poll.rb +++ b/poll.rb @@ -247,7 +247,7 @@ FORM ret end - def history_to_html(maxrev, middlerevision,only) + def history_to_html(middlerevision,only) log = VCS.history if only case only @@ -262,7 +262,7 @@ FORM end log = log.comment_matches(match) end - log[((middlerevision-5)..(middlerevision+5))].to_html(maxrev, middlerevision) + log[((middlerevision-5)..(middlerevision+5))].to_html(middlerevision) end def add_participant(olduser, name, agreed) @@ -328,8 +328,8 @@ FORM store "Column #{parsedtitle} edited" if parsedtitle end - def edit_column_htmlform(activecolumn) - @head.edit_column_htmlform(activecolumn) + def edit_column_htmlform(activecolumn, revision) + @head.edit_column_htmlform(activecolumn, revision) end end -- cgit v1.2.3