mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 04:43:35 +08:00
Adding an exporting handler for localization part.
Changing the name of the exported tag for the text fields. --HG-- branch : dev
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Orchard.Core.Common.Drivers {
|
||||
}
|
||||
|
||||
protected override void Exporting(ContentPart part, TextField field, ExportContentContext context) {
|
||||
context.Element(part.PartDefinition.Name).SetAttributeValue("Text", field.Value);
|
||||
context.Element(field.FieldDefinition.Name).SetAttributeValue("Text", field.Value);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user