diff --git a/app/assets/javascripts/app/controllers/_application_controller.coffee b/app/assets/javascripts/app/controllers/_application_controller.coffee index 8f5a3b792..484231493 100644 --- a/app/assets/javascripts/app/controllers/_application_controller.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller.coffee @@ -730,13 +730,13 @@ class App.UpdateHeader extends App.Controller super # subscribe and reload data / fetch new data if triggered - @subscribeId = @genericObject.subscribe( @render ) + @subscribeId = @genericObject.subscribe(@render) release: => App[ @genericObject.constructor.className ].unsubscribe(@subscribeId) render: (genericObject) => - @el.find( '.page-header h1' ).html( genericObject.displayName() ) + @el.find('.page-header h1').html(genericObject.displayName()) class App.UpdateTastbar extends App.Controller @@ -744,12 +744,12 @@ class App.UpdateTastbar extends App.Controller super # subscribe and reload data / fetch new data if triggered - @subscribeId = @genericObject.subscribe( @update ) + @subscribeId = @genericObject.subscribe(@update) release: => App[ @genericObject.constructor.className ].unsubscribe(@subscribeId) - update: (genericObject) -> + update: (genericObject) => # update taskbar with new meta data @metaTaskUpdate()