Fix start node configuration for tree pickers

This commit is contained in:
Kenn Jacobsen
2019-01-16 08:48:47 +01:00
committed by Sebastiaan Janssen
parent fc29422b8d
commit 1ceab77aef
3 changed files with 5 additions and 5 deletions

View File

@@ -8,6 +8,6 @@ namespace Umbraco.Web.PropertyEditors
public bool ShowOpenButton { get; set; }
[ConfigurationField("startNodeId", "Start node", "treepicker")] // + config in configuration editor ctor
public int StartNodeId { get; set; } = -1; // default value is -1
public string StartNodeId { get; set; }
}
}
}

View File

@@ -17,6 +17,6 @@ namespace Umbraco.Web.PropertyEditors
public bool DisableFolderSelect { get; set; }
[ConfigurationField("startNodeId", "Start node", "mediapicker")]
public int StartNodeId { get; set; }
public string StartNodeId { get; set; }
}
}
}

View File

@@ -15,6 +15,6 @@ namespace Umbraco.Web.PropertyEditors
public string StartNodeQuery {get;set;}
[JsonProperty("id")]
public int? StartNodeId {get;set;}
public string StartNodeId {get;set;}
}
}