mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 11:17:28 +08:00
#21005: Fixing ElementWrapperPart and persistence of common element settings.
Work Item: 21005
This commit is contained in:
@@ -112,7 +112,7 @@ namespace Orchard.Layouts.Controllers {
|
||||
EditorResult = editorResult,
|
||||
TypeName = blueprint.BaseElementTypeName,
|
||||
DisplayText = descriptor.DisplayText,
|
||||
ElementState = editorResult.State.Serialize(),
|
||||
ElementState = element.State.Serialize(),
|
||||
Tabs = editorResult.CollectTabs().ToArray(),
|
||||
BaseElement = element
|
||||
};
|
||||
@@ -134,7 +134,7 @@ namespace Orchard.Layouts.Controllers {
|
||||
EditorResult = editorResult,
|
||||
TypeName = model.TypeName,
|
||||
DisplayText = descriptor.DisplayText,
|
||||
ElementState = editorResult.State.Serialize(),
|
||||
ElementState = element.State.Serialize(),
|
||||
Tabs = editorResult.CollectTabs().ToArray(),
|
||||
BaseElement = element
|
||||
};
|
||||
|
Reference in New Issue
Block a user