Adding some helpful focus the form functionality for logon and setup

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-03-09 00:55:56 -08:00
parent 262fc83dbf
commit 4a0b3f8468
6 changed files with 21 additions and 7 deletions

View File

@@ -1,9 +1,7 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<BodyEditorViewModel>" %>
<%@ Import Namespace="Orchard.Core.Common.ViewModels"%>
<% Html.RegisterScript("tiny_mce.js"); %>
<%=Html.TextArea("Text", Model.Text, 25, 80, new { @class = "html" }) %>
<%
<%=Html.TextArea("Text", Model.Text, 25, 80, new { @class = "html" }) %><%
using (this.Capture("end-of-page-scripts")) {%>
<script type="text/javascript">
tinyMCE.init({