mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
restore bugfix of Luke that I removed in last commit by mistake.
This commit is contained in:
parent
cebaf05a7f
commit
037c04e72f
1 changed files with 4 additions and 1 deletions
|
|
@ -175,7 +175,10 @@ class TodosController < ApplicationController
|
|||
def update
|
||||
@source_view = params['_source_view'] || 'todo'
|
||||
init_data_for_sidebar unless mobile?
|
||||
@todo.tag_with(params[:tag_list]) if params[:tag_list]
|
||||
if params[:tag_list]
|
||||
@todo.tag_with(params[:tag_list])
|
||||
@todo.tags(true) #force a reload for proper rendering
|
||||
end
|
||||
@original_item_context_id = @todo.context_id
|
||||
@original_item_project_id = @todo.project_id
|
||||
@original_item_was_deferred = @todo.deferred?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue