This commit is contained in:
Peter@KASSA01.lan
2012-07-14 08:04:58 -02:00
parent ff5c705534
commit 0c9b239bd3

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Text;
using umbraco.BasePages;
@@ -87,8 +87,15 @@ function openMedia(id) {
}
else
{
xNode.Action = null;
xNode.DimNode();
if (dd.ContentType.Alias.ToLower() == "folder")
{
xNode.Action = "javascript:jQuery('.umbTree #" + dd.Id.ToString() + "').click();";
}
else
{
xNode.Action = null;
xNode.Style.DimNode();
}
}
}
else