Added pre-vals for the file upload property editor (backwards compatible format) and fixed saving a data type.

This commit is contained in:
Shannon
2013-09-03 18:28:14 +10:00
parent 70eb3e8613
commit e5633df6c3
7 changed files with 68 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
namespace Umbraco.Core.Media
{
//NOTE: Could definitely have done with a better name
public class Result
{
public Status Status { get; set; }

View File

@@ -1,5 +1,7 @@
namespace Umbraco.Core.Media
{
//NOTE: Could definitely have done with a better name
public enum Status
{
NotSupported,

View File

@@ -23,10 +23,8 @@ namespace Umbraco.Core.Models.Editors
AdditionalData = new ReadOnlyDictionary<string, object>(additionalData);
}
//TODO: Change this to an object so we can post JSON or json converted clr types if we want!
/// <summary>
/// The string value submitted for the property
/// The value submitted for the property
/// </summary>
public object Value { get; private set; }

View File

@@ -923,6 +923,7 @@
<Content Include="Strings\Notes.txt" />
</ItemGroup>
<ItemGroup>
<Folder Include="Imaging\" />
<Folder Include="Packaging\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />