From 36610edd30d48efb49cea815f09442407d5f4d5f Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 16 Sep 2020 17:24:45 +0200 Subject: [PATCH] Fixed issue #3198 - Unable to open ticket/content not loading. --- .../app/controllers/ticket_zoom/sidebar_ticket.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/sidebar_ticket.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/sidebar_ticket.coffee index fd64b3ed7..c06e1fb38 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/sidebar_ticket.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/sidebar_ticket.coffee @@ -22,7 +22,7 @@ class Edit extends App.ObserverController @permissionCheck('admin') || ticket.currentView() is 'agent' new App.ControllerForm( elReplace: @el - model: { configure_attributes: @formMeta.configure_attributes } + model: { configure_attributes: @formMeta.configure_attributes || App.Ticket.configure_attributes } screen: 'edit' handlersConfig: handlers filter: @formMeta.filter @@ -35,7 +35,7 @@ class Edit extends App.ObserverController else new App.ControllerForm( elReplace: @el - model: { configure_attributes: @formMeta.configure_attributes } + model: { configure_attributes: @formMeta.configure_attributes || App.Ticket.configure_attributes } screen: 'edit' handlersConfig: handlers filter: @formMeta.filter