#19039: Providing a way to ignore some shapes in Shape Tracing

Adding a boolean value named IgnoreShapeTracer to true will prevent the module
from wrapping the shape inside <script /> tags

e.g., Model.IgnoreShapeTracer = true;

Work Item: 19039

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2012-10-05 11:40:12 -07:00
parent a3d7a943d8
commit 338e3304fb

View File

@@ -1,4 +1,9 @@
@{
if (Model.IgnoreShapeTracer != null && (bool)Model.IgnoreShapeTracer) {
@Display(Model.Metadata.ChildContent)
return;
}
Script.Require("jQueryUI").AtHead();
Script.Include("orchard-designertools-shapetracing.js").AtHead();
Script.Include("jquery.scrollTo-min.js").AtHead();