mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Adding Zone Check to AdminDirectionalityFactory
This commit is contained in:
@@ -41,7 +41,8 @@ namespace Orchard.Localization.Services {
|
||||
return;
|
||||
}
|
||||
|
||||
if (context.ShapeMetadata.Type != "EditorTemplate")
|
||||
if (context.ShapeMetadata.Type != "EditorTemplate" &&
|
||||
context.ShapeMetadata.Type != "Zone")
|
||||
return;
|
||||
|
||||
ContentItem contentItem = context.Shape.ContentItem;
|
||||
|
||||
Reference in New Issue
Block a user