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

Bug 27494 - Не хватается маркер поворота графического объекта, если он находится между страницами

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59646 954022d7-b5bf-4e40-9824-e11837661b57
parent ecb83c33
......@@ -2281,7 +2281,7 @@ CGraphicObjects.prototype =
if(ret)
{
var object = g_oTableId.Get_ById(ret.objectId);
if(object && object.selected && object.selectStartPage === pageIndex)
if(object && object.selected /*&& object.selectStartPage === pageIndex*/)
return true;
}
return false;
......@@ -2334,6 +2334,22 @@ CGraphicObjects.prototype =
}
},
removeFromAllHdrFtrPages: function(id, drawingType)
{
for(var i = 0; i < this.graphicPages.length; ++i)
{
this.removeFromHdrFrtPage(i, id, drawingType);
}
},
removeFromHdrFrtPage: function(pageIndex, id, drawingType)
{
if(this.graphicPages[pageIndex] && this.graphicPages[pageIndex].hdrFtrPage)
{
this.graphicPages[pageIndex].hdrFtrPage.delObjectById(id, drawingType);
}
},
Remove_ById: function(id)
{
for(var i = 0; i < this.graphicPages.length; ++i)
......@@ -2342,6 +2358,7 @@ CGraphicObjects.prototype =
}
},
selectById: function(id, pageIndex)
{
this.resetSelection();
......
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