blob: 52df2efcfa58eaefa0d7b57b3527eb9d61eb80ef [file] [log] [blame]
#
# Add comments to an agenda item
#
Pending.update(env.user, @agenda) do |pending|
pending['initials'] = @initials
pending['agenda'] = @agenda
comments = pending['comments']
if not @comment or @comment.strip.empty?
comments.delete @attach
else
comments[@attach] = @comment
end
end