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']

View file

@ -82,7 +82,7 @@ Feature: Edit a next action from every page
| context page for "visible context" | Currently there are no deferred or pending actions |
| project page for "visible project" | Currently there are no deferred or pending actions |
Scenario: I can edit a todo to change its description
Scenario: I can edit a todo to change its description # do for more pages, see #1094
Given this is a pending scenario
Scenario: I can edit a todo to move it to another context