Dumping the model in Shape Tracing

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2011-02-11 15:33:33 -08:00
parent 2d890f54a0
commit b7d8e56398
9 changed files with 342 additions and 32 deletions

View File

@@ -8,7 +8,9 @@ namespace Orchard.DesignerTools.Services {
}
public void Created(ShapeCreatedContext context) {
if (context.ShapeType != "Layout" && context.ShapeType != "DocumentZone") {
if (context.ShapeType != "Layout"
&& context.ShapeType != "DocumentZone"
) {
context.Shape.Metadata.Wrappers.Add("ShapeTracing_Wrapper");
}
}