diff --git a/app/controllers/todos_controller.rb b/app/controllers/todos_controller.rb index cac6b723..ce2d97e5 100644 --- a/app/controllers/todos_controller.rb +++ b/app/controllers/todos_controller.rb @@ -433,6 +433,7 @@ class TodosController < ApplicationController @source_view = params['_source_view'] || 'todo' numdays = params['days'].to_i @todo = Todo.find(params[:id]) + @original_item_context_id = @todo.context_id @todo.show_from = (@todo.show_from || @todo.user.date) + numdays.days @saved = @todo.save diff --git a/app/views/layouts/standard.html.erb b/app/views/layouts/standard.html.erb index 53b58045..3590c64a 100644 --- a/app/views/layouts/standard.html.erb +++ b/app/views/layouts/standard.html.erb @@ -26,6 +26,7 @@ href="<%= search_plugin_path %>" />