Commit 89388173 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

(1.0.0.8) изменения - завязка не на файлы, а на итемы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57896 954022d7-b5bf-4e40-9824-e11837661b57
parent 3bc1d4da
...@@ -663,12 +663,12 @@ function CCollaborativeEditing() ...@@ -663,12 +663,12 @@ function CCollaborativeEditing()
g_oIdCounter.Set_Load( true ); g_oIdCounter.Set_Load( true );
// Применяем изменения, пока они есть // Применяем изменения, пока они есть
var _index = 0;
while ( this.m_aChanges.length > 0 ) while ( this.m_aChanges.length > 0 )
{ {
if (window["NATIVE_EDITOR_ENJINE"] === true && window["native"]["SetCurrentChangeFile"]) if (window["NATIVE_EDITOR_ENJINE"] === true && window["native"]["SetCurrentChangeFile"])
{ {
window["native"]["SetCurrentChangeFile"](_index++); if (!window["native"]["CheckNextChange"]())
break;
} }
var Changes = this.m_aChanges[0]; var Changes = this.m_aChanges[0];
......
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