Added node path to be able to refresh the tree + refreshing the tree after an upload succeeds

This commit is contained in:
sebastiaan
2012-09-04 14:27:54 -02:00
parent 0413b1fbca
commit 8bab9d7fa5
3 changed files with 19 additions and 4 deletions

View File

@@ -107,6 +107,9 @@ namespace Umbraco.Web.UI.Controls
}
sb.Append("</ul>");
// Path for tree refresh
Panel.Attributes.Add("data-nodepath", ParentNode.Path);
// Create size changer
sb.Append("<div class='thumb-sizer'>" +
"<input type='radio' name='thumb_size' value='small' data-bind='checked: thumbSize' />" +