Commit 7b924c15 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Сделано, чтобы при очистке файла (функция asc_CloseFile), удалялись непринятые изменения.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63340 954022d7-b5bf-4e40-9824-e11837661b57
parent c46946e5
......@@ -234,6 +234,22 @@ function CCollaborativeEditing()
var oThis = this;
this.Clear = function()
{
this.m_nUseType = 1;
this.m_aUsers = [];
this.m_aChanges = [];
this.m_aNeedUnlock = [];
this.m_aNeedUnlock2 = [];
this.m_aNeedLock = [];
this.m_aLinkData = [];
this.m_aEndActions = [];
this.m_aCheckLocks = [];
this.m_aNewObjects = [];
this.m_aNewImages = [];
};
this.Is_SingleUser = function()
{
if (1 === this.m_nUseType)
......
......@@ -7467,6 +7467,7 @@ asc_docs_api.prototype.asc_CloseFile = function()
History.Clear();
g_oIdCounter.Clear();
g_oTableId.Clear();
CollaborativeEditing.Clear();
this.isApplyChangesOnOpenEnabled = true;
var oLogicDocument = this.WordControl.m_oLogicDocument;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment