Commit facae693 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

+ addGraphicGroup

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47647 954022d7-b5bf-4e40-9824-e11837661b57
parent 0137cfc0
......@@ -3816,6 +3816,18 @@ function DrawingObjects() {
}
_this.addGraphicGroup = function() {
if ( _this.controller.canGroup() ) {
var obj = _this.createDrawingObject();
obj.id = generateId();
var group = _this.controller.createGroup(obj);
if ( group ) {
obj.graphicObject = group;
aObjects.push(obj);
_this.showDrawingObjects(false);
}
}
}
_this.insertUngroupedObjects = function(idGroup, aGraphics) {
......
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