mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Un-reversing resources in ResourceManager's GetFiles for now and pulling unnecessary script registration from publish editor templates (page and post)
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4046092
This commit is contained in:
parent
e81becb6ed
commit
a575eb759f
@ -3,7 +3,6 @@
|
||||
<% Html.RegisterStyle("jquery-ui-1.7.2.custom.css"); %>
|
||||
<% Html.RegisterStyle("ui.datepicker.css"); %>
|
||||
<% Html.RegisterStyle("ui.timepickr.css"); %>
|
||||
<% Html.RegisterFootScript("datetime.js"); %>
|
||||
<% Html.RegisterFootScript("jquery.ui.core.js"); %>
|
||||
<% Html.RegisterFootScript("jquery.ui.widget.js"); %>
|
||||
<% Html.RegisterFootScript("jquery.ui.datepicker.js"); %>
|
||||
|
@ -4,7 +4,6 @@
|
||||
<% Html.RegisterStyle("jquery-ui-1.7.2.custom.css"); %>
|
||||
<% Html.RegisterStyle("ui.datepicker.css"); %>
|
||||
<% Html.RegisterStyle("ui.timepickr.css"); %>
|
||||
<% Html.RegisterFootScript("datetime.js"); %>
|
||||
<% Html.RegisterFootScript("jquery.ui.core.js"); %>
|
||||
<% Html.RegisterFootScript("jquery.ui.widget.js"); %>
|
||||
<% Html.RegisterFootScript("jquery.ui.datepicker.js"); %>
|
||||
|
@ -78,7 +78,7 @@ namespace Orchard.UI.Resources {
|
||||
private static MvcHtmlString GetFiles(IEnumerable<FileRegistrationContext> fileRegistrationContexts, string fileFormat, string containerRelativePath) {
|
||||
return
|
||||
MvcHtmlString.Create(string.Join("\r\n",
|
||||
fileRegistrationContexts.Select(c => string.Format(fileFormat, c.GetFilePath(containerRelativePath))).Reverse().ToArray()));
|
||||
fileRegistrationContexts.Select(c => string.Format(fileFormat, c.GetFilePath(containerRelativePath))).ToArray()));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user