mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-15 03:38:08 +01:00
fix #1094 where due_id was not determined when updating todo from calendar view
This commit is contained in:
parent
6744a22633
commit
33d73eef62
2 changed files with 2 additions and 2 deletions
|
|
@ -1231,7 +1231,7 @@ class TodosController < ApplicationController
|
||||||
source_view do |page|
|
source_view do |page|
|
||||||
page.calendar do
|
page.calendar do
|
||||||
@old_due_empty = is_old_due_empty(@original_item_due_id)
|
@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
|
end
|
||||||
page.tag do
|
page.tag do
|
||||||
@tag_name = params['_tag_name']
|
@tag_name = params['_tag_name']
|
||||||
|
|
|
||||||
|
|
@ -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 |
|
| 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 |
|
| 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
|
Given this is a pending scenario
|
||||||
|
|
||||||
Scenario: I can edit a todo to move it to another context
|
Scenario: I can edit a todo to move it to another context
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue