Fixed direct link to tasks.

This commit is contained in:
Martin Edenhofer 2014-10-07 15:47:05 +02:00
parent 52faac6b31
commit 95e79b28f8
5 changed files with 13 additions and 4 deletions

View file

@ -429,6 +429,7 @@ class App.ControllerPermanent extends App.Controller
constructor: ->
super
$('.content').attr('style', 'display: none!important')
@navShow()
class App.ControllerContent extends App.Controller
constructor: ->

View file

@ -12,7 +12,9 @@ class App.TicketCreate extends App.Controller
super
# check authentication
return if !@authenticate()
if !@authenticate()
App.TaskManager.remove( @task_key )
return
# set title
@form_meta = undefined

View file

@ -6,7 +6,9 @@ class App.OrganizationZoom extends App.Controller
super
# check authentication
return if !@authenticate()
if !@authenticate()
App.TaskManager.remove( @task_key )
return
@navupdate '#'

View file

@ -6,7 +6,9 @@ class App.TicketZoom extends App.Controller
super
# check authentication
return if !@authenticate()
if !@authenticate()
App.TaskManager.remove( @task_key )
return
@navupdate '#'

View file

@ -6,7 +6,9 @@ class App.UserZoom extends App.Controller
super
# check authentication
return if !@authenticate()
if !@authenticate()
App.TaskManager.remove( @task_key )
return
@navupdate '#'