mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#5153: Fixed *elementEditorModel* deserialization issue.
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
html: LayoutEditor.decode("@Url.Encode(Model.ElementHtml)"),
|
||||
isTemplated: false
|
||||
},
|
||||
elementEditorModel: LayoutEditor.decode("@Html.Raw(Url.Encode(Model.ElementEditorModel.ToJson()))")
|
||||
elementEditorModel: JSON.parse(LayoutEditor.decode("@Html.Raw(Url.Encode(Model.ElementEditorModel.ToJson()))"))
|
||||
};
|
||||
|
||||
window.parent.currentDialog.trigger("command", payload);
|
||||
|
Reference in New Issue
Block a user