Allows the overlay view to be created with a custom parent scope so that broadcast/emit work correctly for the code within the overlay to be a 'child' of the editor that invoked it.

This commit is contained in:
Shannon
2018-08-30 20:21:25 +10:00
parent 53ae01c123
commit 506d57ab07
8 changed files with 57 additions and 24 deletions

View File

@@ -172,10 +172,9 @@ namespace Umbraco.Core.Models
/// </summary>
/// <returns>A value indicating whether the culture can be published.</returns>
/// <remarks>
/// <para>Fails if values cannot be published, e.g. if some values are not valid.</para>
/// <para>Fails if properties don't pass variant validtion rules.</para>
/// <para>Publishing must be finalized via the content service SavePublishing method.</para>
/// </remarks>
// fixme - should return an attempt with error results
bool PublishCulture(string culture = "*");
/// <summary>

View File

@@ -139,7 +139,7 @@ namespace Umbraco.Core.Models
// fixme validate published cultures?
/// <summary>
/// Validates the content item's properties.
/// Validates the content item's properties pass variant rules
/// </summary>
/// <para>If the content type is variant, then culture can be either '*' or an actual culture, but neither 'null' nor
/// 'empty'. If the content type is invariant, then culture can be either '*' or null or empty.</para>