Check-out Library Document that is not associated to a specific section. Prior to this fix, the MSWord window would open briefly and the close again, because the Document was not "Checked out". Since there was no ownership record, the next time SessionPing was run, the window would be immediately closed.

This commit is contained in:
Rich 2014-03-10 10:16:42 +00:00
parent 051b445f23
commit c386153d06

View File

@ -159,6 +159,7 @@ namespace Volian.Controls.Library
} }
public DisplayTabItem(IContainer container, DisplayTabControl myDisplayTabControl, DocumentInfo myDocumentInfo, string myKey) public DisplayTabItem(IContainer container, DisplayTabControl myDisplayTabControl, DocumentInfo myDocumentInfo, string myKey)
{ {
OwnerID = myDisplayTabControl.MySessionInfo.CheckOutItem(myDocumentInfo.DocID, CheckOutType.Document);
_MyKey = myKey; _MyKey = myKey;
_MyDisplayTabControl = myDisplayTabControl; _MyDisplayTabControl = myDisplayTabControl;
_MyDocumentInfo = myDocumentInfo; _MyDocumentInfo = myDocumentInfo;