Fixes Content List View installation, removes unecessary properties from the RecycleBinEventArgs, updates both the upload and image cropper property editors to properly remove all files including any associated with variants, updates several other places to deal with variants and Property.GetValue(langId), adds notes, ensures we are returning the corect IDictionary instead of Dictionary for some interfaces

This commit is contained in:
Shannon
2018-04-04 13:11:12 +10:00
parent b1d309aa16
commit a673babfb7
36 changed files with 189 additions and 248 deletions

View File

@@ -135,6 +135,7 @@ namespace Umbraco.Core
/// <returns></returns>
public static bool DetectIsJson(this string input)
{
if (input.IsNullOrWhiteSpace()) return false;
input = input.Trim();
return (input.StartsWith("{") && input.EndsWith("}"))
|| (input.StartsWith("[") && input.EndsWith("]"));