mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-25 19:17:13 +08:00
Added missing SnippetDescriptor property to Snippet element shape.
This commit is contained in:
@@ -125,6 +125,7 @@ namespace Orchard.Layouts.Providers {
|
||||
var shape = (dynamic)_shapeFactory.Value.Create(shapeType);
|
||||
|
||||
shape.Element = context.Element;
|
||||
shape.SnippetDescriptor = snippetDescriptor;
|
||||
|
||||
if (snippetDescriptor != null) {
|
||||
foreach (var fieldDescriptor in snippetDescriptor.Fields) {
|
||||
|
||||
Reference in New Issue
Block a user