mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixed a subtle bug.
This commit is contained in:
@@ -125,7 +125,7 @@ namespace Orchard.Layouts.Services {
|
|||||||
node["htmlStyle"] = element.HtmlStyle;
|
node["htmlStyle"] = element.HtmlStyle;
|
||||||
node["rule"] = element.Rule;
|
node["rule"] = element.Rule;
|
||||||
node["isTemplated"] = element.IsTemplated;
|
node["isTemplated"] = element.IsTemplated;
|
||||||
node["hasEditor"] = element.HasEditor;
|
node["hasEditor"] = element.Descriptor.EnableEditorDialog;
|
||||||
node["contentType"] = element.Descriptor.TypeName;
|
node["contentType"] = element.Descriptor.TypeName;
|
||||||
node["contentTypeLabel"] = element.Descriptor.DisplayText.Text;
|
node["contentTypeLabel"] = element.Descriptor.DisplayText.Text;
|
||||||
node["contentTypeClass"] = element.DisplayText.Text.HtmlClassify();
|
node["contentTypeClass"] = element.DisplayText.Text.HtmlClassify();
|
||||||
|
Reference in New Issue
Block a user