mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-03 12:03:51 +08:00
Fixing MediaGalleryFieldDriver creating Fields_ContentPicker shape instead of Fields_MediaGallery, causing a "Shape type Fields_ContentPicker not found" exception.
--HG-- branch : 1.x
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Orchard.Fields.Drivers {
|
||||
|
||||
protected override DriverResult Display(ContentPart part, MediaGalleryField field, string displayType, dynamic shapeHelper) {
|
||||
return Combined(
|
||||
ContentShape("Fields_MediaGallery", GetDifferentiator(field, part), () => shapeHelper.Fields_ContentPicker()),
|
||||
ContentShape("Fields_MediaGallery", GetDifferentiator(field, part), () => shapeHelper.Fields_MediaGallery()),
|
||||
ContentShape("Fields_MediaGallery_SummaryAdmin", GetDifferentiator(field, part), () => shapeHelper.Fields_MediaGallery_SummaryAdmin())
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user