diff --git a/app/assets/javascripts/app/controllers/taskbar_widget.coffee b/app/assets/javascripts/app/controllers/taskbar_widget.coffee index 3c9f6f3b9..f10052097 100644 --- a/app/assets/javascripts/app/controllers/taskbar_widget.coffee +++ b/app/assets/javascripts/app/controllers/taskbar_widget.coffee @@ -49,7 +49,7 @@ class App.TaskbarWidget extends App.Controller item.meta = meta taskItems.push item - # set title + # update title if task.active @title meta.title diff --git a/app/assets/javascripts/app/lib/app_post/task_manager.coffee b/app/assets/javascripts/app/lib/app_post/task_manager.coffee index 00dd466f8..e3102b0e3 100644 --- a/app/assets/javascripts/app/lib/app_post/task_manager.coffee +++ b/app/assets/javascripts/app/lib/app_post/task_manager.coffee @@ -258,6 +258,11 @@ class _taskManagerSingleton extends App.Controller if controller.show controller.show(params_app) + # update title + if controller.meta + meta = controller.meta() + @title meta.title + true # hide task content