Commit 9fdc584e authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix open error

sequence:
- load document
- load sdk before load fonts and crash on an attempt to send styles event
parent 4318318a
...@@ -568,15 +568,6 @@ var editor; ...@@ -568,15 +568,6 @@ var editor;
} }
this.isUseEmbeddedCutFonts = false; this.isUseEmbeddedCutFonts = false;
// Отправка стилей
this._sendWorkbookStyles();
if (this.IsSendDocumentLoadCompleate && this.collaborativeEditing) {
// Принимаем чужие изменения
this.collaborativeEditing.applyChanges();
// Пересылаем свои изменения
this.collaborativeEditing.sendChanges();
}
} }
}; };
......
...@@ -5504,12 +5504,6 @@ background-repeat: no-repeat;\ ...@@ -5504,12 +5504,6 @@ background-repeat: no-repeat;\
return; return;
} }
if (this.bInit_word_control === true)
{
AscCommon.CollaborativeEditing.Apply_Changes();
AscCommon.CollaborativeEditing.Release_Locks();
}
this.isUseEmbeddedCutFonts = false; this.isUseEmbeddedCutFonts = false;
this.WordControl.checkNeedRules(); this.WordControl.checkNeedRules();
......
...@@ -6352,15 +6352,6 @@ background-repeat: no-repeat;\ ...@@ -6352,15 +6352,6 @@ background-repeat: no-repeat;\
return; return;
} }
// быстрого перехода больше нет
/*
if ( this.bInit_word_control === true )
{
CollaborativeEditing.Apply_Changes();
CollaborativeEditing.Release_Locks();
}
*/
this.isUseEmbeddedCutFonts = false; this.isUseEmbeddedCutFonts = false;
//this.WordControl.m_bIsRuler = true; //this.WordControl.m_bIsRuler = true;
......
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