mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-14 00:16:15 +01:00
fix error where editing start date or end date for a recurring todo does not show the calendar
This commit is contained in:
parent
186fd5694d
commit
a981595bce
2 changed files with 7 additions and 5 deletions
|
|
@ -32,8 +32,10 @@ class RecurringTodosController < ApplicationController
|
|||
|
||||
# we needed to rename the recurring_period selector in the edit form
|
||||
# because the form for a new recurring todo and the edit form are on the
|
||||
# same page.
|
||||
# same page. Same goed for start_from and end_date
|
||||
params['recurring_todo']['recurring_period']=params['recurring_edit_todo']['recurring_period']
|
||||
params['recurring_todo']['end_date']=params['recurring_todo_edit_end_date']
|
||||
params['recurring_todo']['start_from']=params['recurring_todo_edit_start_from']
|
||||
|
||||
# update project
|
||||
if params['recurring_todo']['project_id'].blank? && !params['project_name'].nil?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue