Commit 32637013 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@60570 954022d7-b5bf-4e40-9824-e11837661b57
parent 1b32f654
...@@ -1043,7 +1043,10 @@ DrawingObjectsController.prototype = ...@@ -1043,7 +1043,10 @@ DrawingObjectsController.prototype =
} }
else if(this.selection.groupSelection) else if(this.selection.groupSelection)
{ {
var oOldDoc = this.selection.groupSelection.document;
this.selection.groupSelection.document = this.document;
this.selection.groupSelection.applyTextFunction(docContentFunction, tableFunction, args); this.selection.groupSelection.applyTextFunction(docContentFunction, tableFunction, args);
this.selection.groupSelection.document = oOldDoc;
} }
else if(this.selection.chartSelection) else if(this.selection.chartSelection)
{ {
......
...@@ -660,6 +660,7 @@ CGroupShape.prototype = ...@@ -660,6 +660,7 @@ CGroupShape.prototype =
}, },
applyTextFunction: DrawingObjectsController.prototype.applyTextFunction, applyTextFunction: DrawingObjectsController.prototype.applyTextFunction,
applyDocContentFunction: DrawingObjectsController.prototype.applyDocContentFunction,
applyAllAlign: function(val) applyAllAlign: function(val)
{ {
......
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