Only fetch data if authentication exists.
This commit is contained in:
parent
8da2e5c557
commit
a5963cf880
1 changed files with 2 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue