Merge remote-tracking branch 'origin/dev-v7' into 7.4.0
This commit is contained in:
@@ -75,7 +75,7 @@ namespace Umbraco.Core.Media.Exif
|
||||
{
|
||||
if (items.ContainsKey (key))
|
||||
items.Remove (key);
|
||||
if (key == ExifTag.WindowsTitle || key == ExifTag.WindowsTitle || key == ExifTag.WindowsComment || key == ExifTag.WindowsAuthor || key == ExifTag.WindowsKeywords || key == ExifTag.WindowsSubject) {
|
||||
if (key == ExifTag.WindowsTitle || key == ExifTag.WindowsComment || key == ExifTag.WindowsAuthor || key == ExifTag.WindowsKeywords || key == ExifTag.WindowsSubject) {
|
||||
items.Add (key, new WindowsByteString (key, value));
|
||||
} else {
|
||||
items.Add (key, new ExifAscii (key, value, parent.Encoding));
|
||||
|
||||
@@ -111,7 +111,7 @@ namespace Umbraco.Core.Services
|
||||
|
||||
member.RawPasswordValue = result.RawPasswordValue;
|
||||
member.LastPasswordChangeDate = result.LastPasswordChangeDate;
|
||||
member.UpdateDate = member.UpdateDate;
|
||||
member.UpdateDate = result.UpdateDate;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -266,7 +266,7 @@ namespace Umbraco.Core.Services
|
||||
//should never be null but it could have been deleted by another thread.
|
||||
user.RawPasswordValue = result.RawPasswordValue;
|
||||
user.LastPasswordChangeDate = result.LastPasswordChangeDate;
|
||||
user.UpdateDate = user.UpdateDate;
|
||||
user.UpdateDate = result.UpdateDate;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@ namespace Umbraco.Tests
|
||||
public void GetAbsolutePathDecoded(string input, string expected)
|
||||
{
|
||||
var source = new Uri(input, UriKind.RelativeOrAbsolute);
|
||||
var output = source.GetSafeAbsolutePathDecoded();
|
||||
var output = source.GetAbsolutePathDecoded();
|
||||
Assert.AreEqual(expected, output);
|
||||
}
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace Umbraco.Web.Models
|
||||
|
||||
public bool HasFocalPoint()
|
||||
{
|
||||
return FocalPoint != null && FocalPoint.Top != 0.5m && FocalPoint.Top != 0.5m;
|
||||
return FocalPoint != null && FocalPoint.Left != 0.5m && FocalPoint.Top != 0.5m;
|
||||
}
|
||||
|
||||
public bool HasCrop(string alias)
|
||||
|
||||
@@ -500,7 +500,7 @@ namespace umbraco.cms.presentation.Trees
|
||||
/// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
|
||||
protected virtual void OnBeforeNodeRender(ref XmlTree sender, ref XmlTreeNode node, EventArgs e)
|
||||
{
|
||||
if (node != null && node != null)
|
||||
if (sender != null && node != null)
|
||||
{
|
||||
if (BeforeNodeRender != null)
|
||||
BeforeNodeRender(ref sender, ref node, e);
|
||||
|
||||
@@ -164,13 +164,8 @@ namespace umbraco.editorControls.tinyMCE3
|
||||
foreach (StylesheetProperty p in s.Properties)
|
||||
{
|
||||
if (styles != string.Empty)
|
||||
{
|
||||
styles += ";";
|
||||
}
|
||||
if (p.Alias.StartsWith("."))
|
||||
styles += p.Text + "=" + p.Alias;
|
||||
else
|
||||
styles += p.Text + "=" + p.Alias;
|
||||
styles += p.Text + "=" + p.Alias;
|
||||
}
|
||||
|
||||
cssFiles += ",";
|
||||
|
||||
Reference in New Issue
Block a user