Fixed content title saving
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -78,3 +78,4 @@ src/Umbraco.Web.UI/umbraco/assets/*
|
|||||||
src/Umbraco.Web.UI.Client/build/*
|
src/Umbraco.Web.UI.Client/build/*
|
||||||
src/Umbraco.Web.UI.Client/build/*
|
src/Umbraco.Web.UI.Client/build/*
|
||||||
src/Umbraco.Web.UI.Client/build/belle/
|
src/Umbraco.Web.UI.Client/build/belle/
|
||||||
|
src/Umbraco.Web.UI/UserControls/
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ function contentResource($q, $http, umbDataFormatter, umbRequestHelper) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getByIds: function (ids) {
|
getByIds: function (ids) {
|
||||||
|
|
||||||
var deferred = $q.defer();
|
var deferred = $q.defer();
|
||||||
|
|
||||||
//go and get the data
|
//go and get the data
|
||||||
|
|||||||
@@ -117,6 +117,9 @@ namespace Umbraco.Web.Editors
|
|||||||
|
|
||||||
//Now, we just need to save the data
|
//Now, we just need to save the data
|
||||||
|
|
||||||
|
contentItem.PersistedContent.Name = contentItem.Name;
|
||||||
|
//TODO: We'll need to save the new template, publishat, etc... values here
|
||||||
|
|
||||||
//Save the property values
|
//Save the property values
|
||||||
foreach (var p in contentItem.ContentDto.Properties)
|
foreach (var p in contentItem.ContentDto.Properties)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user