mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
Merge branch 'release/4.0.1' into develop
This commit is contained in:
@ -1608,6 +1608,8 @@ function DrawingObjects() {
|
||||
printPagesData
|
||||
}
|
||||
*****************************************/
|
||||
if (!worksheet || !worksheet.model)
|
||||
return;
|
||||
|
||||
// Undo/Redo
|
||||
if ( (worksheet.model.index != api.wb.model.getActive()) && !printOptions )
|
||||
|
||||
@ -181,6 +181,7 @@ CGraphicFrame.prototype.setGraphicObject= function(graphicObject)
|
||||
if(this.graphicObject)
|
||||
{
|
||||
this.graphicObject.Index = 0;
|
||||
this.graphicObject.Parent = this;
|
||||
}
|
||||
};
|
||||
|
||||
@ -1093,6 +1094,7 @@ CGraphicFrame.prototype.Undo = function(data)
|
||||
if(this.graphicObject)
|
||||
{
|
||||
this.graphicObject.Index = 0;
|
||||
this.graphicObject.Parent = this;
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -1139,6 +1141,7 @@ CGraphicFrame.prototype.Redo = function(data)
|
||||
if(this.graphicObject)
|
||||
{
|
||||
this.graphicObject.Index = 0;
|
||||
this.graphicObject.Parent = this;
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -1213,6 +1216,7 @@ CGraphicFrame.prototype.Load_Changes = function(r)
|
||||
if(this.graphicObject)
|
||||
{
|
||||
this.graphicObject.Index = 0;
|
||||
this.graphicObject.Parent = this;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user