Fixes ##3486 - KB Edit / Save entries results in JS errors and unsaved articles

This commit is contained in:
Mantas 2021-03-31 20:56:42 +03:00 committed by Thorsten Eckel
parent e73a45a30a
commit b26fdfd216

View file

@ -190,6 +190,7 @@ class App.KnowledgeBaseAgentController extends App.Controller
@updateTitle(titleSuffix) @updateTitle(titleSuffix)
klass = @contentControllerClass(params) klass = @contentControllerClass(params)
@contentController?.releaseController()
@contentController = @buildUsing(klass, params, object) @contentController = @buildUsing(klass, params, object)
@navigationController?.show(object, params.action) @navigationController?.show(object, params.action)
@sidebarController?.show(object, params.action) @sidebarController?.show(object, params.action)