From 0cfa0e65f20196d99d1e70f33fa8be7107365369 Mon Sep 17 00:00:00 2001 From: Jyri-Petteri Paloposki Date: Fri, 28 Jun 2019 01:40:58 +0300 Subject: [PATCH] #2242: Fix the JS procedure run on add form submission by changing the context ID to the new format. --- app/helpers/todos_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/todos_helper.rb b/app/helpers/todos_helper.rb index 8426bd8e..8b04e928 100644 --- a/app/helpers/todos_helper.rb +++ b/app/helpers/todos_helper.rb @@ -570,7 +570,7 @@ module TodosHelper end def context_container_id(todo) - return "c#{todo.context_id}" + return "context_#{todo.context_id}" end def todo_container_id(todo)