Commit ded58c7f authored by Alexander.Trofimov's avatar Alexander.Trofimov

apply changes when document connect only 1 user

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54560 954022d7-b5bf-4e40-9824-e11837661b57
parent f49710db
...@@ -598,13 +598,6 @@ function CCollaborativeEditing() ...@@ -598,13 +598,6 @@ function CCollaborativeEditing()
this.Apply_Changes = function() this.Apply_Changes = function()
{ {
// Пока не началось совместное редактирование, мы ничего не делаем
if ( true != this.m_bUse )
{
editor.CoAuthoringApi.saveChanges( new Array() );
return;
}
editor.WordControl.m_oLogicDocument.Stop_Recalculate(); editor.WordControl.m_oLogicDocument.Stop_Recalculate();
editor.sync_StartAction(c_oAscAsyncActionType.BlockInteraction, c_oAscAsyncAction.ApplyChanges); editor.sync_StartAction(c_oAscAsyncActionType.BlockInteraction, c_oAscAsyncAction.ApplyChanges);
......
...@@ -585,13 +585,6 @@ function CCollaborativeEditing() ...@@ -585,13 +585,6 @@ function CCollaborativeEditing()
this.Apply_Changes = function() this.Apply_Changes = function()
{ {
// Пока не началось совместное редактирование, мы ничего не делаем
if ( true != this.m_bUse )
{
editor.CoAuthoringApi.saveChanges( new Array() );
return;
}
editor.WordControl.m_oLogicDocument.Stop_Recalculate(); editor.WordControl.m_oLogicDocument.Stop_Recalculate();
editor.sync_StartAction(c_oAscAsyncActionType.BlockInteraction, c_oAscAsyncAction.ApplyChanges); editor.sync_StartAction(c_oAscAsyncActionType.BlockInteraction, c_oAscAsyncAction.ApplyChanges);
......
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