mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#18891: Adding a default value to ShapePlacementContext.Path
Work Item: 18891 --HG-- branch : 1.x
This commit is contained in:
@@ -65,7 +65,8 @@ namespace Orchard.ContentManagement.Drivers {
|
|||||||
var placementContext = new ShapePlacementContext {
|
var placementContext = new ShapePlacementContext {
|
||||||
ContentType = part.ContentItem.ContentType,
|
ContentType = part.ContentItem.ContentType,
|
||||||
Differentiator = editor.GetDifferentiator(),
|
Differentiator = editor.GetDifferentiator(),
|
||||||
DisplayType = null
|
DisplayType = null,
|
||||||
|
Path = String.Empty
|
||||||
};
|
};
|
||||||
|
|
||||||
var location = descriptor.Placement(placementContext).Location;
|
var location = descriptor.Placement(placementContext).Location;
|
||||||
|
|||||||
Reference in New Issue
Block a user