Ensures virtual path is set on the template, updates the tree controller to render the correct editor if it's webforms, updates the rest service to return the updated contents if the server changes it and updates the UI

This commit is contained in:
Shannon
2015-01-09 17:01:38 +11:00
parent 5bef3593dd
commit caf972cd0f
7 changed files with 16 additions and 10 deletions

View File

@@ -204,7 +204,11 @@ namespace Umbraco.Web.WebServices
var syncPath = "-1,init," + t.Path.Replace("-1,", "");
return Success(ui.Text("speechBubbles", "templateSavedText"), ui.Text("speechBubbles", "templateSavedHeader"),
new { path = syncPath });
new
{
path = syncPath,
contents = t.Design
});
}
catch (Exception ex)
{