Show loading... tab right after tab creation.

This commit is contained in:
Martin Edenhofer 2016-04-01 00:35:55 +02:00
parent d31e75218f
commit 1836522695

View file

@ -192,6 +192,8 @@ class _taskManagerSingleton extends App.Controller
) )
@allTasksByKey[params.key] = task.attributes() @allTasksByKey[params.key] = task.attributes()
@touch(params.key)
# save new task and update task collection # save new task and update task collection
ui = @ ui = @
task.save( task.save(
@ -515,7 +517,7 @@ class _taskManagerSingleton extends App.Controller
persistent: true persistent: true
init: true init: true
) )
task_count * 250 task_count * 350
undefined undefined
'task' 'task'
) )
@ -534,7 +536,7 @@ class _taskManagerSingleton extends App.Controller
persistent: false persistent: false
init: true init: true
) )
task_count * 250 task_count * 350
undefined undefined
'task' 'task'
) )