mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Corrected script resource on Content Types edition
--HG-- branch : dev
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
<meta itemprop="Name" content="@Model.Name" />
|
<meta itemprop="Name" content="@Model.Name" />
|
||||||
@Html.HiddenFor(m => m.Name)
|
@Html.HiddenFor(m => m.Name)
|
||||||
</fieldset>
|
</fieldset>
|
||||||
@Display(Model)
|
|
||||||
<div class="manage-type">
|
<div class="manage-type">
|
||||||
<h2>@T("Fields")</h2>
|
<h2>@T("Fields")</h2>
|
||||||
<div class="manage add-to-type">
|
<div class="manage add-to-type">
|
||||||
@@ -34,12 +34,11 @@
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
@//todo: (sebros) move at the end of the page
|
@using(Script.Foot()){
|
||||||
@/*
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function ($) {
|
(function ($) {
|
||||||
$(".manage-field h3,.manage-part h3").expandoControl(function (controller) { return controller.nextAll(".details"); }, { collapse: true, remember: false });
|
$(".manage-field h3,.manage-part h3").expandoControl(function (controller) { return controller.nextAll(".details"); }, { collapse: true, remember: false });
|
||||||
$(".manage-field h4").expandoControl(function (controller) { return controller.nextAll(".settings"); }, { collapse: true, remember: false });
|
$(".manage-field h4").expandoControl(function (controller) { return controller.nextAll(".settings"); }, { collapse: true, remember: false });
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
</script>
|
</script>
|
||||||
*/
|
}
|
Reference in New Issue
Block a user