Commit e7b6f954 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 33385

parent a493c444
......@@ -476,10 +476,7 @@ asc_CChartBinary.prototype = {
AscCommon.pptx_content_loader.Clear();
var oNewChartSpace = new AscFormat.CChartSpace();
var oBinaryChartReader = new AscCommon.BinaryChartReader(stream);
var bOldVal = AscCommon.g_oIdCounter.m_bLoad
AscCommon.g_oIdCounter.m_bLoad = true;
oBinaryChartReader.ExternalReadCT_ChartSpace(stream.size , oNewChartSpace, workSheet);
AscCommon.g_oIdCounter.m_bLoad = bOldVal;
return oNewChartSpace;
},
......
......@@ -265,7 +265,7 @@ function Paragraph(DrawingDocument, Parent, PageNum, X, Y, XLimit, YLimit, bFrom
this.Lock = new AscCommon.CLock(); // Зажат ли данный параграф другим пользователем
// TODO: Когда у g_oIdCounter будет тоже проверка на TurnOff заменить здесь
if (false === AscCommon.g_oIdCounter.m_bLoad && true === History.Is_On())
if (this.bFromDocument && false === AscCommon.g_oIdCounter.m_bLoad && true === History.Is_On())
{
this.Lock.Set_Type(AscCommon.locktype_Mine, false);
if (AscCommon.CollaborativeEditing)
......
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