Fixed a typo.

This commit is contained in:
Sipke Schoorstra
2015-08-22 16:58:44 +01:00
parent 59c711fdb0
commit 47ac6ba0ad

View File

@@ -76,7 +76,7 @@ namespace Orchard.Layouts.Services {
icon = descriptor.ToolboxIcon,
hasEditor = descriptor.EnableEditorDialog,
// If the element has no editor then the toolbox will add the element straight to to designer when being dragged & dropped,
// If the element has no editor then the toolbox will add the element straight to the designer when being dragged & dropped,
// so we'll want to present the user with a prerendered element.
html = descriptor.EnableEditorDialog ? "" : RenderElement(element, new DescribeElementsContext { Content = content })
};