diff --git a/cms/static/coffee/src/views/unit.coffee b/cms/static/coffee/src/views/unit.coffee index 416e3204fd..6f9b939af2 100644 --- a/cms/static/coffee/src/views/unit.coffee +++ b/cms/static/coffee/src/views/unit.coffee @@ -185,6 +185,7 @@ class CMS.Views.UnitEdit.NameEdit extends Backbone.View # Treat the metadata dictionary as immutable metadata = $.extend({}, @model.get('metadata')) metadata.display_name = @$('.unit-display-name-input').val() + $('.unit-location .editing .unit-name').html(metadata.display_name) @model.set('metadata', metadata) class CMS.Views.UnitEdit.LocationState extends Backbone.View diff --git a/cms/templates/unit.html b/cms/templates/unit.html index 0f4f999599..3a184d65ba 100644 --- a/cms/templates/unit.html +++ b/cms/templates/unit.html @@ -108,9 +108,7 @@ ${subsection.display_name} -