Commit d758e4f5 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60676 954022d7-b5bf-4e40-9824-e11837661b57
parent bbe10cbc
......@@ -2252,7 +2252,11 @@ CGraphicObjects.prototype =
}
else
{
return DRAWING_ARRAY_TYPE_BEFORE;
if(!(bSelected === true))
{
return DRAWING_ARRAY_TYPE_BEFORE;
}
return -1;
}
}
return -1;
......@@ -2516,7 +2520,7 @@ CGraphicObjects.prototype =
aSelectedObjectsCopy.sort(function(a, b){return a.selectStartPage - b.selectStartPage});
return this.getLeftTopSelectedObjectByPage(aSelectedObjectsCopy[0].selectStartPage);
}
return {X: 0, Y: 0};
return {X: 0, Y: 0, PageIndex: pageIndex};
},
getLeftTopSelectedObjectByPage: function(pageIndex)
......@@ -2559,7 +2563,7 @@ CGraphicObjects.prototype =
return oRes;
}
}
return {X: 0, Y: 0};
return {X: 0, Y: 0, PageIndex: pageIndex};
},
......
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