Change StartNodeId from string to Udi

This commit is contained in:
Kenn Jacobsen
2019-01-17 19:31:35 +01:00
committed by Sebastiaan Janssen
parent 1ceab77aef
commit f394bed017
3 changed files with 8 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
using Umbraco.Core.PropertyEditors;
using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
@@ -8,6 +9,6 @@ namespace Umbraco.Web.PropertyEditors
public bool ShowOpenButton { get; set; }
[ConfigurationField("startNodeId", "Start node", "treepicker")] // + config in configuration editor ctor
public string StartNodeId { get; set; }
public Udi StartNodeId { get; set; }
}
}

View File

@@ -1,4 +1,5 @@
using Umbraco.Core.PropertyEditors;
using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
@@ -17,6 +18,6 @@ namespace Umbraco.Web.PropertyEditors
public bool DisableFolderSelect { get; set; }
[ConfigurationField("startNodeId", "Start node", "mediapicker")]
public string StartNodeId { get; set; }
public Udi StartNodeId { get; set; }
}
}

View File

@@ -1,4 +1,5 @@
using Newtonsoft.Json;
using Umbraco.Core;
namespace Umbraco.Web.PropertyEditors
{
@@ -15,6 +16,6 @@ namespace Umbraco.Web.PropertyEditors
public string StartNodeQuery {get;set;}
[JsonProperty("id")]
public string StartNodeId {get;set;}
public Udi StartNodeId {get;set;}
}
}