Only fetch data if authentication exists.

This commit is contained in:
Martin Edenhofer 2013-04-20 16:42:38 +02:00
parent 8da2e5c557
commit a5963cf880

View file

@ -47,6 +47,8 @@ class App.TicketZoom extends App.Controller
fetch: (ticket_id, force) ->
return if !@Session.all()
# get data
App.Com.ajax(
id: 'ticket_zoom'