From b26fdfd216748a26aa7deb6ffe6a3c2b6e66dede Mon Sep 17 00:00:00 2001 From: Mantas Date: Wed, 31 Mar 2021 20:56:42 +0300 Subject: [PATCH] Fixes ##3486 - KB Edit / Save entries results in JS errors and unsaved articles --- .../app/controllers/knowledge_base/agent_controller.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/app/controllers/knowledge_base/agent_controller.coffee b/app/assets/javascripts/app/controllers/knowledge_base/agent_controller.coffee index c8d9bca31..10f316d32 100644 --- a/app/assets/javascripts/app/controllers/knowledge_base/agent_controller.coffee +++ b/app/assets/javascripts/app/controllers/knowledge_base/agent_controller.coffee @@ -190,6 +190,7 @@ class App.KnowledgeBaseAgentController extends App.Controller @updateTitle(titleSuffix) klass = @contentControllerClass(params) + @contentController?.releaseController() @contentController = @buildUsing(klass, params, object) @navigationController?.show(object, params.action) @sidebarController?.show(object, params.action)