Fixed issue with show tickets which shoule be hidden.
This commit is contained in:
parent
6e882a7afb
commit
8eae1af1e2
2 changed files with 4 additions and 2 deletions
|
@ -19,9 +19,9 @@ class App.TaskWidget extends App.Controller
|
||||||
|
|
||||||
sync = =>
|
sync = =>
|
||||||
App.TaskManager.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: ->
|
render: ->
|
||||||
|
|
||||||
|
|
|
@ -75,6 +75,8 @@ class _Singleton extends App.Controller
|
||||||
if active
|
if active
|
||||||
$('.content_permanent').hide()
|
$('.content_permanent').hide()
|
||||||
$('#content_permanent_' + @task_count ).show()
|
$('#content_permanent_' + @task_count ).show()
|
||||||
|
else
|
||||||
|
$('#content_permanent_' + @task_count ).hide()
|
||||||
params_app = _.clone(params)
|
params_app = _.clone(params)
|
||||||
params_app['el'] = $('#content_permanent_' + @task_count )
|
params_app['el'] = $('#content_permanent_' + @task_count )
|
||||||
params_app['task_key'] = @task_count
|
params_app['task_key'] = @task_count
|
||||||
|
|
Loading…
Reference in a new issue