Merge pull request #737 from tomfulton/fix/u46775
Support virtual paths for PreValueField attributes (U4-6775)
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using Newtonsoft.Json;
|
||||
using Umbraco.Core.IO;
|
||||
using Umbraco.Core.Logging;
|
||||
using Umbraco.Core.Models;
|
||||
|
||||
@@ -84,7 +85,7 @@ namespace Umbraco.Core.PropertyEditors
|
||||
Name = att.Name,
|
||||
Description = att.Description,
|
||||
HideLabel = att.HideLabel,
|
||||
View = att.View
|
||||
View = att.View.StartsWith("~/") ? IOHelper.ResolveUrl(att.View) : att.View
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user