Add current user to process text modules.

This commit is contained in:
Martin Edenhofer 2016-03-09 08:05:34 +01:00
parent 26bdc0c665
commit 18e407693a

View file

@ -251,10 +251,12 @@ class App.TicketZoomArticleNew extends App.Controller
el: @$('.js-textarea').parent()
data:
ticket: ticket
user: App.Session.get()
)
callback = (ticket) ->
textModule.reload(
ticket: ticket
user: App.Session.get()
)
@subscribeIdTextModule = ticket.subscribe(callback)