Fixes 29631, tilde not resolved (PropertyContextHelpOption set to icon)

This commit is contained in:
starfighter83
2010-12-20 13:03:47 -01:00
parent df2cfec816
commit b375ddf1f8

View File

@@ -372,7 +372,7 @@ namespace umbraco.controls
switch (UmbracoSettings.PropertyContextHelpOption)
{
case "icon":
caption += " <img src=\"" + SystemDirectories.Umbraco + "/images/help.png\" class=\"umbPropertyContextHelp\" alt=\"" + p.PropertyType.Description + "\" title=\"" + p.PropertyType.Description + "\" />";
caption += " <img src=\"" + this.ResolveUrl(SystemDirectories.Umbraco) + "/images/help.png\" class=\"umbPropertyContextHelp\" alt=\"" + p.PropertyType.Description + "\" title=\"" + p.PropertyType.Description + "\" />";
break;
case "text":
caption += "<br /><small>" + umbraco.library.ReplaceLineBreaks(p.PropertyType.Description) + "</small>";