Commit 83432e30 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 33874

parent 297d3ff2
......@@ -119,7 +119,7 @@ var asc_CShapeProperty = Asc.asc_CShapeProperty;
if(FromLoad){
if(typeof AscCommon.CollaborativeEditing !== "undefined")
{
if(oClass.Fill.fill && oClass.Fill.fill.type === c_oAscFill.FILL_TYPE_BLIP && typeof oClass.Fill.fill.RasterImageId === "string" && oClass.Fill.fill.RasterImageId.length > 0)
if(oClass.Fill && oClass.Fill.fill && oClass.Fill.fill.type === c_oAscFill.FILL_TYPE_BLIP && typeof oClass.Fill.fill.RasterImageId === "string" && oClass.Fill.fill.RasterImageId.length > 0)
{
AscCommon.CollaborativeEditing.Add_NewImage(AscCommon.getFullImageSrc2(oClass.Fill.fill.RasterImageId));
}
......
......@@ -58,7 +58,7 @@ var isRealObject = AscCommon.isRealObject;
if(FromLoad){
if(typeof AscCommon.CollaborativeEditing !== "undefined")
{
if(typeof value.RasterImageId === "string" && value.RasterImageId.length > 0)
if(value && (typeof value.RasterImageId === "string") && value.RasterImageId.length > 0)
{
AscCommon.CollaborativeEditing.Add_NewImage(AscCommon.getFullImageSrc2(value.RasterImageId));
}
......
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