Re-render task on renderScreenError(), renderScreenNotFound() and renderScreenUnauthorized() automatically.

This commit is contained in:
Martin Edenhofer 2016-04-01 08:20:52 +02:00
parent 1836522695
commit ada5538e1b
3 changed files with 3 additions and 5 deletions

View file

@ -551,12 +551,15 @@ class App.Controller extends Spine.Controller
@clearDelay(@initLoadingDoneDelay)
renderScreenError: (data) ->
App.TaskManager.touch(@task_key)
@html App.view('generic/error/generic')(data)
renderScreenNotFound: (data) ->
App.TaskManager.touch(@task_key)
@html App.view('generic/error/not_found')(data)
renderScreenUnauthorized: (data) ->
App.TaskManager.touch(@task_key)
@html App.view('generic/error/unauthorized')(data)
locationVerify: (e) =>

View file

@ -116,8 +116,6 @@ class App.ControllerGenericIndex extends App.Controller
@log 'error', 'ajax', msg.status
if msg.status is 401
@log 'error', 'ajax', rec, msg, msg.status
# @navigate @pageData.navupdate
# alert('relogin')
@navigate 'login'
# execute fetch

View file

@ -210,9 +210,6 @@ class App.TicketZoom extends App.Controller
detail: detail
objectName: 'Ticket'
)
# update taskbar with new meta data
App.TaskManager.touch(@task_key)
)