Fixed issue #1913 and #1914: Given template parameters for rendering ticket create view are not displayed.

This commit is contained in:
Thorsten Eckel 2018-04-03 11:39:53 +02:00
parent 7954ee0dce
commit e48ca057fd

View file

@ -220,8 +220,7 @@ class App.TicketCreate extends App.Controller
renderQueue: (template = {}) => renderQueue: (template = {}) =>
localeRender = => localeRender = =>
@render(options: template) @render(template)
@render()
App.QueueManager.add(@queueKey, localeRender) App.QueueManager.add(@queueKey, localeRender)
return if !@formMeta return if !@formMeta
App.QueueManager.run(@queueKey) App.QueueManager.run(@queueKey)