Commit 4b747432 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Убрал SetActive - она ничего не делает для объектов, зато выделяет лишнее

Баг http://bugzserver/show_bug.cgi?id=22266

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@52585 954022d7-b5bf-4e40-9824-e11837661b57
parent e7441bae
...@@ -2593,10 +2593,6 @@ function DrawingObjects() { ...@@ -2593,10 +2593,6 @@ function DrawingObjects() {
_t.getCanvasContext = function() { _t.getCanvasContext = function() {
return _this.drawingDocument.CanvasHitContext; return _this.drawingDocument.CanvasHitContext;
} }
_t.setActive = function() {
worksheet._moveActiveCellToXY( mmToPx(_t.graphicObject.x + 1), mmToPx(_t.graphicObject.y + 1) );
}
// GraphicObject: x, y, extX, extY // GraphicObject: x, y, extX, extY
_t.getGraphicObjectMetrics = function() { _t.getGraphicObjectMetrics = function() {
...@@ -4436,7 +4432,6 @@ function DrawingObjects() { ...@@ -4436,7 +4432,6 @@ function DrawingObjects() {
} }
drawingObject.setGraphicObjectCoords(); drawingObject.setGraphicObjectCoords();
drawingObject.setActive();
_this.showDrawingObjects(false); _this.showDrawingObjects(false);
_this.sendGraphicObjectProps(); _this.sendGraphicObjectProps();
......
...@@ -9705,7 +9705,7 @@ ...@@ -9705,7 +9705,7 @@
if (false === isSuccess) if (false === isSuccess)
return; return;
return t.autoFilters.addAutoFilter(lTable, ar, undefined, false, addFormatTableOptionsObj); t.autoFilters.addAutoFilter(lTable, ar, undefined, false, addFormatTableOptionsObj);
}; };
this._isLockedAll (onChangeAutoFilterCallback); this._isLockedAll (onChangeAutoFilterCallback);
}, },
...@@ -9729,17 +9729,14 @@ ...@@ -9729,17 +9729,14 @@
if (false === isSuccess) if (false === isSuccess)
return; return;
return t.autoFilters.sortColFilter(type, cellId, ar); t.autoFilters.sortColFilter(type, cellId, ar);
}; };
this._isLockedAll (onChangeAutoFilterCallback); this._isLockedAll (onChangeAutoFilterCallback);
}, },
getAddFormatTableOptions: function(nameOption) getAddFormatTableOptions: function () {
{
var ar = this.activeRange.clone(true); var ar = this.activeRange.clone(true);
var t = this; return this.autoFilters.getAddFormatTableOptions(ar);
var result = t.autoFilters.getAddFormatTableOptions(ar);
return result;
}, },
_loadFonts: function (fontArr, callback) { _loadFonts: function (fontArr, callback) {
......
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