Fixes: U4-3103 The content name doesn't rebind from the server if the server changes the name
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user