Fixes macro tree syncing

This commit is contained in:
Shannon Deminick
2013-05-08 17:04:51 -10:00
parent f23c6c53cc
commit 41e87fca98

View File

@@ -79,6 +79,10 @@ namespace umbraco.cms.presentation.developer
{
int macroID = Convert.ToInt32(Request.QueryString["macroID"]);
ClientTools
.SetActiveTreeType(TreeDefinitionCollection.Instance.FindTree<loadMacros>().Tree.Alias)
.SyncTree("-1,init," + m_macro.Id.ToString(), true); //true forces the reload
string tempMacroAssembly = macroAssembly.Text;
string tempMacroType = macroType.Text;
string tempCachePeriod = cachePeriod.Text;