fix #1094 where due_id was not determined when updating todo from calendar view

This commit is contained in:
Reinier Balt 2011-02-06 22:48:59 +01:00
parent 6744a22633
commit 33d73eef62
2 changed files with 2 additions and 2 deletions

View file

@ -1231,7 +1231,7 @@ class TodosController < ApplicationController
source_view do |page|
page.calendar do
@old_due_empty = is_old_due_empty(@original_item_due_id)
@new_due_id = get_due_id_for_calendar(@todo.due) if @due_date_changed
@new_due_id = get_due_id_for_calendar(@todo.due)
end
page.tag do
@tag_name = params['_tag_name']