From d115fe8993689969b9974c1ee92855c3a633b349 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 20 Nov 2015 17:17:59 +0100 Subject: [PATCH] Update taskbar after object is loaded/changed. --- .../javascripts/app/controllers/organization_profile.coffee | 3 +++ app/assets/javascripts/app/controllers/user_profile.coffee | 3 +++ 2 files changed, 6 insertions(+) diff --git a/app/assets/javascripts/app/controllers/organization_profile.coffee b/app/assets/javascripts/app/controllers/organization_profile.coffee index 3ccd2d5f0..c0557a383 100644 --- a/app/assets/javascripts/app/controllers/organization_profile.coffee +++ b/app/assets/javascripts/app/controllers/organization_profile.coffee @@ -78,6 +78,9 @@ class Object extends App.Controller render: (organization) => + # update taskbar with new meta data + @metaTaskUpdate() + # get display data organizationData = [] for attributeName, attributeConfig of App.Organization.attributesGet('view') diff --git a/app/assets/javascripts/app/controllers/user_profile.coffee b/app/assets/javascripts/app/controllers/user_profile.coffee index 815c54823..bc1c4897f 100644 --- a/app/assets/javascripts/app/controllers/user_profile.coffee +++ b/app/assets/javascripts/app/controllers/user_profile.coffee @@ -81,6 +81,9 @@ class Object extends App.Controller render: (user) => + # update taskbar with new meta data + @metaTaskUpdate() + # get display data userData = [] for attributeName, attributeConfig of App.User.attributesGet('view')