Added pre-vals for the file upload property editor (backwards compatible format) and fixed saving a data type.
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
namespace Umbraco.Core.Media
|
||||
{
|
||||
|
||||
//NOTE: Could definitely have done with a better name
|
||||
public enum Status
|
||||
{
|
||||
NotSupported,
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -923,6 +923,7 @@
|
||||
<Content Include="Strings\Notes.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Imaging\" />
|
||||
<Folder Include="Packaging\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
Reference in New Issue
Block a user