Gets notification msgs on the server side to be displayed. Fixes property existence checking... was checking on id before but that is incorrect, needs to be on alias since a new property id is gen'd on each save and we're not re-wiring them back up. Fixes YSOD messaging for content as well. Changes the ModelState to modelState to be consistent in js.

This commit is contained in:
Shannon
2013-07-22 18:16:50 +10:00
parent ae2ed17050
commit feb1892e9e
10 changed files with 97 additions and 57 deletions

View File

@@ -32,7 +32,7 @@ namespace Umbraco.Web.Models.ContentEditing
/// still save the item but it cannot be published. So we need a way of returning validation errors as well as the
/// updated model.
/// </remarks>
[DataMember(Name = "ModelState")]
[DataMember(Name = "modelState")]
public IDictionary<string, object> Errors { get; set; }
/// <summary>