Update page title my task manager after task got shown.

This commit is contained in:
Martin Edenhofer 2016-03-24 15:21:00 +01:00
parent 1db7d46569
commit 3b47640d01
2 changed files with 6 additions and 1 deletions

View file

@ -49,7 +49,7 @@ class App.TaskbarWidget extends App.Controller
item.meta = meta item.meta = meta
taskItems.push item taskItems.push item
# set title # update title
if task.active if task.active
@title meta.title @title meta.title

View file

@ -258,6 +258,11 @@ class _taskManagerSingleton extends App.Controller
if controller.show if controller.show
controller.show(params_app) controller.show(params_app)
# update title
if controller.meta
meta = controller.meta()
@title meta.title
true true
# hide task content # hide task content