Merge branch 'dev-v7' into temp8
# Conflicts: # src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.controller.js # src/Umbraco.Web/Editors/ContentController.cs # src/Umbraco.Web/Routing/PublishedRequest.cs
This commit is contained in:
@@ -1294,7 +1294,7 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s
|
||||
self.createLinkPicker(args.editor, function (currentTarget, anchorElement) {
|
||||
var linkPicker = {
|
||||
currentTarget: currentTarget,
|
||||
anchors: self.getAnchorNames(JSON.stringify(editorState.current.properties)),
|
||||
anchors: editorState.current ? self.getAnchorNames(JSON.stringify(editorState.current.properties)) : [],
|
||||
submit: function (model) {
|
||||
self.insertLinkInEditor(args.editor, model.target, anchorElement);
|
||||
editorService.close();
|
||||
|
||||
@@ -2038,7 +2038,7 @@ namespace Umbraco.Web.Editors
|
||||
return display;
|
||||
}
|
||||
|
||||
[EnsureUserPermissionForContent("contentId", 'R')]
|
||||
[EnsureUserPermissionForContent("contentId", ActionBrowse.ActionLetter)]
|
||||
public IEnumerable<NotifySetting> GetNotificationOptions(int contentId)
|
||||
{
|
||||
var notifications = new List<NotifySetting>();
|
||||
|
||||
@@ -491,17 +491,17 @@ namespace Umbraco.Web.Routing
|
||||
// Note: we used to set a default value here but that would then be the default
|
||||
// for ALL requests, we shouldn't overwrite it though if people are using [OutputCache] for example
|
||||
// see: https://our.umbraco.com/forum/using-umbraco-and-getting-started/79715-output-cache-in-umbraco-752
|
||||
internal HttpCacheability Cacheability { get; set; }
|
||||
public HttpCacheability Cacheability { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a list of Extensions to append to the Response.Cache object.
|
||||
/// </summary>
|
||||
internal List<string> CacheExtensions { get; set; } = new List<string>();
|
||||
public List<string> CacheExtensions { get; set; } = new List<string>();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a dictionary of Headers to append to the Response object.
|
||||
/// </summary>
|
||||
internal Dictionary<string, string> Headers { get; set; } = new Dictionary<string, string>();
|
||||
public Dictionary<string, string> Headers { get; set; } = new Dictionary<string, string>();
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user