diff --git a/services/web/public/coffee/project-members/ProjectMembersManager.coffee b/services/web/public/coffee/project-members/ProjectMembersManager.coffee index fab84ee99f..032b9d1cbd 100644 --- a/services/web/public/coffee/project-members/ProjectMembersManager.coffee +++ b/services/web/public/coffee/project-members/ProjectMembersManager.coffee @@ -180,6 +180,8 @@ define [ @model = @ide.project _.bindAll(this, "render"); this.model.bind('change', this.render) + @refreshPublishStatus() + render: -> viewModel = @@ -191,7 +193,6 @@ define [ $(@el).html $(Mustache.to_html(@template, viewModel)) @publishedArea = $('#publishedAsTemplateArea') @unpublishedArea = $('#unpublishedAsTemplateArea') - @refreshPublishStatus() refreshPublishStatus: ->