From 754ed06d8618feedf70eb2e842b6d5984d2ff5b7 Mon Sep 17 00:00:00 2001 From: Shannon Date: Tue, 15 Oct 2013 12:48:35 +1100 Subject: [PATCH] Fixes: U4-3103 The content name doesn't rebind from the server if the server changes the name --- .../src/common/services/contenteditinghelper.service.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/common/services/contenteditinghelper.service.js b/src/Umbraco.Web.UI.Client/src/common/services/contenteditinghelper.service.js index c7567983c9..2eee59e8a8 100644 --- a/src/Umbraco.Web.UI.Client/src/common/services/contenteditinghelper.service.js +++ b/src/Umbraco.Web.UI.Client/src/common/services/contenteditinghelper.service.js @@ -52,6 +52,12 @@ function contentEditingHelper($location, $routeParams, notificationsService, ser }); } + //check for changed built-in properties of the content + if (!_.isEqual(origContent.name, newContent.name)) { + origContent.name = newContent.name; + } + + //check for changed properties of the content for (var p in allOrigProps) { var newProp = getNewProp(allOrigProps[p].alias); if (newProp && !_.isEqual(allOrigProps[p].value, newProp.value)) {