Fixes: U4-3110 Cant create new relationstype - ensures that the legacy action js path references are included
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Umbraco.Web.UI.JavaScript
|
||||
/// </summary>
|
||||
public string GetStylesheetInitialization()
|
||||
{
|
||||
JArray merged = new JArray();
|
||||
var merged = new JArray();
|
||||
foreach (var m in _parser.GetManifests())
|
||||
{
|
||||
ManifestParser.MergeJArrays(merged, m.StylesheetInitialize);
|
||||
@@ -36,11 +36,11 @@ namespace Umbraco.Web.UI.JavaScript
|
||||
/// <summary>
|
||||
/// Parses the CssResources.Main and returns a yepnop.injectCss format
|
||||
/// </summary>
|
||||
/// <param name="replacements"></param>
|
||||
/// <param name="files"></param>
|
||||
/// <returns></returns>
|
||||
internal static string ParseMain(JArray files)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
var sb = new StringBuilder();
|
||||
foreach (var file in files)
|
||||
sb.AppendFormat("{0}yepnope.injectCss('{1}');", Environment.NewLine, file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user