Fixed direct link to tasks.
This commit is contained in:
parent
52faac6b31
commit
95e79b28f8
5 changed files with 13 additions and 4 deletions
|
@ -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: ->
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 '#'
|
||||
|
||||
|
|
|
@ -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 '#'
|
||||
|
||||
|
|
|
@ -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 '#'
|
||||
|
||||
|
|
Loading…
Reference in a new issue