make add ticket links a local modal

This commit is contained in:
Felix Niklas 2015-05-28 13:49:53 +02:00
parent 81003e0807
commit ca0d66bc10
2 changed files with 2 additions and 0 deletions

View file

@ -688,6 +688,7 @@ class TicketSidebar extends App.Controller
object_type: 'Ticket' object_type: 'Ticket'
object: ticket object: ticket
links: @links links: @links
container: @el.closest('.content')
) )
showTicketHistory = => showTicketHistory = =>

View file

@ -83,6 +83,7 @@ class App.WidgetLink extends App.Controller
link_object_id: @object.id link_object_id: @object.id
object: @object object: @object
parent: @ parent: @
container: @container
) )
class App.LinkAdd extends App.ControllerModal class App.LinkAdd extends App.ControllerModal