Fixed U4-1439 4.11.2 DataEditorSetting not working for UserControl wrapper.
This commit is contained in:
@@ -165,6 +165,10 @@ namespace umbraco.editorControls.userControlGrapper
|
||||
|
||||
private void LoadSetttings(string fileName)
|
||||
{
|
||||
// due to legacy, some user controls may not have the tilde start
|
||||
if (fileName.StartsWith("~/"))
|
||||
fileName = fileName.Substring(2);
|
||||
|
||||
if (System.IO.File.Exists(IOHelper.MapPath("~/" + fileName)))
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user