Add current user to process text modules.
This commit is contained in:
parent
26bdc0c665
commit
18e407693a
1 changed files with 5 additions and 3 deletions
|
@ -251,10 +251,12 @@ class App.TicketZoomArticleNew extends App.Controller
|
||||||
el: @$('.js-textarea').parent()
|
el: @$('.js-textarea').parent()
|
||||||
data:
|
data:
|
||||||
ticket: ticket
|
ticket: ticket
|
||||||
|
user: App.Session.get()
|
||||||
)
|
)
|
||||||
callback = (ticket) ->
|
callback = (ticket) ->
|
||||||
textModule.reload(
|
textModule.reload(
|
||||||
ticket: ticket
|
ticket: ticket
|
||||||
|
user: App.Session.get()
|
||||||
)
|
)
|
||||||
@subscribeIdTextModule = ticket.subscribe(callback)
|
@subscribeIdTextModule = ticket.subscribe(callback)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue