Change StartNodeId from string to Udi
This commit is contained in:
committed by
Sebastiaan Janssen
parent
1ceab77aef
commit
f394bed017
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user