mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-05 08:48:50 +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|
|
||||
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']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue