#18891: Adding a default value to ShapePlacementContext.Path

Work Item: 18891

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2012-08-14 16:42:20 -07:00
parent 946b1f610e
commit 20d8f247b8

View File

@@ -65,7 +65,8 @@ namespace Orchard.ContentManagement.Drivers {
var placementContext = new ShapePlacementContext {
ContentType = part.ContentItem.ContentType,
Differentiator = editor.GetDifferentiator(),
DisplayType = null
DisplayType = null,
Path = String.Empty
};
var location = descriptor.Placement(placementContext).Location;