Merge branch 'dev-v7' into 7.3.0
Conflicts: build/UmbracoVersion.txt src/SolutionInfo.cs src/Umbraco.Web.UI/Umbraco.Web.UI.csproj src/Umbraco.Web.UI/packages.config src/Umbraco.Web/Editors/BackOfficeController.cs src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheFilePersister.cs src/Umbraco.Web/umbraco.presentation/content.cs src/umbraco.macroRenderings/app.config
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Umbraco.Web.UI.JavaScript
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Could allow developers to add custom variables on startup
|
||||
/// Allows developers to add custom variables on parsing
|
||||
/// </summary>
|
||||
public static event EventHandler<Dictionary<string, object>> Parsing;
|
||||
|
||||
@@ -18,6 +18,7 @@ namespace Umbraco.Web.UI.JavaScript
|
||||
{
|
||||
var vars = Resources.ServerVariables;
|
||||
|
||||
//Raise event for developers to add custom variables
|
||||
if (Parsing != null)
|
||||
{
|
||||
Parsing(null, items);
|
||||
|
||||
Reference in New Issue
Block a user