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

global loader на открытии

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60084 954022d7-b5bf-4e40-9824-e11837661b57
parent 27d34df7
......@@ -991,7 +991,7 @@ asc_docs_api.prototype.OpenDocument2 = function(url, gObject)
_loader.Api = this;
g_oIdCounter.Set_Load(true);
_loader.Reader.Load(gObject, this.WordControl.m_oLogicDocument);
_loader.Check_TextFit();
_loader.Reader.Check_TextFit();
this.LoadedObject = 1;
g_oIdCounter.Set_Load(false);
......@@ -5201,12 +5201,12 @@ window["asc_docs_api"].prototype["asc_nativeOpenFile"] = function(base64File, ve
if (version === undefined)
{
_loader.Reader.Load(base64File, this.WordControl.m_oLogicDocument);
_loader.Check_TextFit();
_loader.Reader.Check_TextFit();
}
else
{
_loader.Reader.Load2(base64File, this.WordControl.m_oLogicDocument);
_loader.Check_TextFit();
_loader.Reader.Check_TextFit();
}
this.LoadedObject = 1;
......
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