Ensuring the Blog SummaryAdmin template pulls in required scripts and making a couple JS functions better jQuery citizens

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-11-09 08:52:25 -08:00
parent 2bd0e7acaf
commit 92e9851d46
2 changed files with 7 additions and 5 deletions

View File

@@ -3,8 +3,9 @@
@using Orchard.ContentManagement;
@using Orchard.Utility.Extensions;
@{
ContentItem contentItem = Model.ContentItem;
var returnUrl = ViewContext.RequestContext.HttpContext.Request.ToUrlString();
Script.Require("ShapesBase");
ContentItem contentItem = Model.ContentItem;
var returnUrl = ViewContext.RequestContext.HttpContext.Request.ToUrlString();
}
<div class="summary" itemscope="itemscope" itemid="@contentItem.Id" itemtype="http://orchardproject.net/data/ContentItem">
<div class="properties">