Fixed issue #3198 - Unable to open ticket/content not loading.
This commit is contained in:
parent
058272dc82
commit
36610edd30
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ class Edit extends App.ObserverController
|
||||||
@permissionCheck('admin') || ticket.currentView() is 'agent'
|
@permissionCheck('admin') || ticket.currentView() is 'agent'
|
||||||
new App.ControllerForm(
|
new App.ControllerForm(
|
||||||
elReplace: @el
|
elReplace: @el
|
||||||
model: { configure_attributes: @formMeta.configure_attributes }
|
model: { configure_attributes: @formMeta.configure_attributes || App.Ticket.configure_attributes }
|
||||||
screen: 'edit'
|
screen: 'edit'
|
||||||
handlersConfig: handlers
|
handlersConfig: handlers
|
||||||
filter: @formMeta.filter
|
filter: @formMeta.filter
|
||||||
|
@ -35,7 +35,7 @@ class Edit extends App.ObserverController
|
||||||
else
|
else
|
||||||
new App.ControllerForm(
|
new App.ControllerForm(
|
||||||
elReplace: @el
|
elReplace: @el
|
||||||
model: { configure_attributes: @formMeta.configure_attributes }
|
model: { configure_attributes: @formMeta.configure_attributes || App.Ticket.configure_attributes }
|
||||||
screen: 'edit'
|
screen: 'edit'
|
||||||
handlersConfig: handlers
|
handlersConfig: handlers
|
||||||
filter: @formMeta.filter
|
filter: @formMeta.filter
|
||||||
|
|
Loading…
Reference in a new issue