Fixed issue with show tickets which shoule be hidden.

This commit is contained in:
Martin Edenhofer 2013-04-20 22:22:37 +02:00
parent 6e882a7afb
commit 8eae1af1e2
2 changed files with 4 additions and 2 deletions

View file

@ -19,9 +19,9 @@ class App.TaskWidget extends App.Controller
sync = =>
App.TaskManager.sync()
@delay( sync, 2000, 'task-widget' )
@delay( sync, 3000, 'task-widget' )
@delay( sync, 2500, 'task-widget' )
@delay( sync, 3000, 'task-widget' )
render: ->

View file

@ -75,6 +75,8 @@ class _Singleton extends App.Controller
if active
$('.content_permanent').hide()
$('#content_permanent_' + @task_count ).show()
else
$('#content_permanent_' + @task_count ).hide()
params_app = _.clone(params)
params_app['el'] = $('#content_permanent_' + @task_count )
params_app['task_key'] = @task_count