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

Отключаем рецензирование на момент группировки и разгруппировки.(Bug 31156)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66943 954022d7-b5bf-4e40-9824-e11837661b57
parent 6281c8b7
......@@ -2293,7 +2293,11 @@ CGraphicObjects.prototype =
var objects_for_grouping = this.canGroup(true);
if(objects_for_grouping.length < 2)
return;
var bTrackRevisions = false;
if(this.document.TrackRevisions){
bTrackRevisions = true;
this.document.TrackRevisions = false;
}
var i;
var common_bounds = this.checkCommonBounds(objects_for_grouping);
var para_drawing = new ParaDrawing(common_bounds.maxX - common_bounds.minX, common_bounds.maxY - common_bounds.minY, null, this.drawingDocument, null, null);
......@@ -2346,13 +2350,20 @@ CGraphicObjects.prototype =
this.resetSelection();
this.selectObject(group, page_index);
this.document.Recalculate();
if(bTrackRevisions){
this.document.TrackRevisions = true;
}
},
unGroupSelectedObjects: function()
{
if(!(editor.isViewMode === false))
return;
var bTrackRevisions = false;
if(this.document.TrackRevisions){
bTrackRevisions = true;
this.document.TrackRevisions = false;
}
var ungroup_arr = this.canUnGroup(true);
if(ungroup_arr.length > 0)
{
......@@ -2419,6 +2430,9 @@ CGraphicObjects.prototype =
}
this.document.Recalculate();
}
if(bTrackRevisions){
this.document.TrackRevisions = true;
}
},
setTableProps: function(Props)
......
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