Commit fefe4e38 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

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