개정판 33df85e7
issue #999: fixed save logic
Change-Id: I59b725f31e4349245fe4f058b65894d7a2aae1e1
KCOM/Events/SaveCommand.cs | ||
---|---|---|
80 | 80 |
List<MARKUP_DATA> markupdata = new List<MARKUP_DATA>(); |
81 | 81 |
ViewerDataModel.Instance.MyMarkupList.Where(d => d.MarkupInfoID == UserState.MarkupInfoID).ToList().GroupBy(p => p.ID).Select(g => g.First()).ToList().ForEach(value => |
82 | 82 |
{ |
83 |
var control = MarkupParser.ParseEx(App.ViewInfo.ProjectNO, value.Data, Common.ViewerDataModel.Instance.MarkupControls_USER, "#FFFF0000", "",
|
|
83 |
var control = MarkupParser.ParseEx(App.ViewInfo.ProjectNO, value.Data, null, "#FFFF0000", "",
|
|
84 | 84 |
value.MarkupInfoID, value.ID); |
85 | 85 |
markupdata.Add((control as CommentUserInfo).GetMarkupData(App.ViewInfo.UserID, value.PageNumber, UserState.MarkupVersionID)); |
86 | 86 |
}); |
87 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveMarkupData(UserState, Project_No, document_id, user_id, markupdata);
|
|
87 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveMarkupData(UserState, Project_No, document_id, user_id, markupdata); |
|
88 | 88 |
} |
89 | 89 |
//User Information List Rebind |
90 | 90 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.gridViewMarkup.Rebind(); |
내보내기 Unified diff