Die, Marco, die.
This commit is contained in:
@@ -10,7 +10,7 @@ angular.module("umbraco")
|
||||
$scope.control.value = {
|
||||
syntax: data.syntax,
|
||||
macroAlias: data.macroAlias,
|
||||
marcoParamsDictionary: data.macroParamsDictionary
|
||||
macroParamsDictionary: data.macroParamsDictionary
|
||||
};
|
||||
|
||||
$scope.setPreview(data);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
{
|
||||
string macroAlias = Model.value.macroAlias.ToString();
|
||||
ViewDataDictionary parameters = new ViewDataDictionary();
|
||||
foreach (dynamic mpd in Model.value.marcoParamsDictionary)
|
||||
foreach (dynamic mpd in Model.value.macroParamsDictionary)
|
||||
{
|
||||
parameters.Add(mpd.Name, mpd.Value);
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Umbraco.Web.Models
|
||||
public static class PartialViewMacroModelExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Attempt to get a Marco parameter from a PartialViewMacroModel and return a default value otherwise
|
||||
/// Attempt to get a Macro parameter from a PartialViewMacroModel and return a default value otherwise
|
||||
/// </summary>
|
||||
/// <param name="partialViewMacroModel"></param>
|
||||
/// <param name="parameterAlias"></param>
|
||||
@@ -25,7 +25,7 @@ namespace Umbraco.Web.Models
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Attempt to get a Marco parameter from a PartialViewMacroModel
|
||||
/// Attempt to get a Macro parameter from a PartialViewMacroModel
|
||||
/// </summary>
|
||||
/// <param name="partialViewMacroModel"></param>
|
||||
/// <param name="parameterAlias"></param>
|
||||
|
||||
Reference in New Issue
Block a user