Update page title my task manager after task got shown.
This commit is contained in:
parent
1db7d46569
commit
3b47640d01
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue