N2.Web.UI.WebControls.ItemEditorList.UpdateItemFromTopEditor C# (CSharp) Method

UpdateItemFromTopEditor() private method

private UpdateItemFromTopEditor ( PathData path ) : void
path PathData
return void
		private void UpdateItemFromTopEditor(PathData path)
		{
			var editor = FindTopEditor(Parent);
			var draftOfTopEditor = path.CurrentPage.FindPartVersion(editor.CurrentItem);
			editor.UpdateObject(new Edit.Workflow.CommandContext(editor.Definition, draftOfTopEditor, Interfaces.Editing, Context.User));
		}