From d599d63daa4604fddaafe1936ebd9d9fff53789c Mon Sep 17 00:00:00 2001 From: "Alexander.Trofimov" <Alexander.Trofimov@OnlyOffice.com> Date: Thu, 3 Jul 2014 11:32:56 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B1=D0=B0=D0=B3=20http://bugzserver/show=5Fbug.cgi?= =?UTF-8?q?=3Fid=3D25179?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57139 954022d7-b5bf-4e40-9824-e11837661b57 --- Common/Charts/DrawingObjects.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Common/Charts/DrawingObjects.js b/Common/Charts/DrawingObjects.js index e098c3bd1..1c7dfc7d6 100644 --- a/Common/Charts/DrawingObjects.js +++ b/Common/Charts/DrawingObjects.js @@ -3826,6 +3826,7 @@ function DrawingObjects() { _this.selectDrawingObjectRange = function(drawing) { + worksheet.cleanSelection(); worksheet.arrActiveChartsRanges = []; if(!drawing.bbox || drawing.bbox.worksheet !== worksheet.model) @@ -3853,7 +3854,7 @@ function DrawingObjects() { var range = asc.Range(BB.c1, BB.r1, BB.c2, BB.r2, true); worksheet.arrActiveChartsRanges.push(range); worksheet.isChartAreaEditMode = true; - worksheet._drawFormulaRanges(worksheet.arrActiveChartsRanges); + worksheet._drawSelection(); }; _this.unselectDrawingObjects = function() { -- 2.30.9