Fixed up new actions in MediaController

This commit is contained in:
Shannon
2013-08-28 09:50:15 +10:00
parent 8fc127e195
commit bb6adcab92
5 changed files with 17 additions and 40 deletions

View File

@@ -22,5 +22,9 @@ namespace Umbraco.Web.Models.ContentEditing
[DataMember(Name = "icon")]
public string Icon { get; set; }
[DataMember(Name = "parentId", IsRequired = true)]
[Required]
public int ParentId { get; set; }
}
}