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

Bug 27437 - JS ошибка при выставлении в диапазон данных несуществующего значения

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60289 954022d7-b5bf-4e40-9824-e11837661b57
parent 1ab731d8
...@@ -1770,8 +1770,9 @@ DrawingObjectsController.prototype = ...@@ -1770,8 +1770,9 @@ DrawingObjectsController.prototype =
var b_equal_ws = chart_space.bbox && chart_space.bbox.worksheet === ws; var b_equal_ws = chart_space.bbox && chart_space.bbox.worksheet === ws;
var b_equal_vert = chart_space.bbox && chartSettings.getInColumns() === !chart_space.bbox.seriesBBox.bVert; var b_equal_vert = chart_space.bbox && chartSettings.getInColumns() === !chart_space.bbox.seriesBBox.bVert;
var bLimit = (Math.abs(new_bbox.r2 - new_bbox.r1) > 4096 || Math.abs(new_bbox.c2 - new_bbox.c1) > 4096);
if(!(chart_space.bbox && chart_space.bbox.seriesBBox && b_equal_ws if(!(chart_space.bbox && chart_space.bbox.seriesBBox && b_equal_ws
&& b_equal_bbox && b_equal_vert)) && b_equal_bbox && b_equal_vert ) && !bLimit)
{ {
var catHeadersBBox, serHeadersBBox; var catHeadersBBox, serHeadersBBox;
if(chart_space.bbox && b_equal_bbox && b_equal_ws && !b_equal_vert) if(chart_space.bbox && b_equal_bbox && b_equal_ws && !b_equal_vert)
......
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