Relates to bud U4-1142 Umbraco helper in wrong context with used in a Partial.

Fix to context of Umbraco helper when used in partials.
This commit is contained in:
pgregorynz
2012-11-04 21:24:04 -10:00
parent 7df9921441
commit ff5c5c8a03

View File

@@ -251,6 +251,7 @@ namespace Umbraco.Web
var item = new Item()
{
NodeId = currentPage.Id.ToString(),
Field = fieldAlias,
TextIfEmpty = altText,
LegacyAttributes = attributesForItem