Fixed issue #3198 - Unable to open ticket/content not loading.

This commit is contained in:
Martin Edenhofer 2020-09-16 17:24:45 +02:00 committed by Thorsten Eckel
parent 058272dc82
commit 36610edd30

View file

@ -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