Commit 5fa4d1f1 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

fix bug #31131

isColumn->inColumns

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66852 954022d7-b5bf-4e40-9824-e11837661b57
parent 7b60e739
...@@ -6616,7 +6616,7 @@ DrawingObjectsController.prototype = ...@@ -6616,7 +6616,7 @@ DrawingObjectsController.prototype =
if(props && props.ChartProperties && typeof props.ChartProperties.range === "string") if(props && props.ChartProperties && typeof props.ChartProperties.range === "string")
{ {
var editor = window["Asc"]["editor"]; var editor = window["Asc"]["editor"];
var check = parserHelp.checkDataRange(editor.wbModel, editor.wb, c_oAscSelectionDialogType.Chart, props.ChartProperties.range, true, !props.ChartProperties.isColumn, props.ChartProperties.type); var check = parserHelp.checkDataRange(editor.wbModel, editor.wb, c_oAscSelectionDialogType.Chart, props.ChartProperties.range, true, !props.ChartProperties.inColumns, props.ChartProperties.type);
if(check === c_oAscError.ID.StockChartError || check === c_oAscError.ID.DataRangeError if(check === c_oAscError.ID.StockChartError || check === c_oAscError.ID.DataRangeError
|| check === c_oAscError.ID.MaxDataSeriesError) || check === c_oAscError.ID.MaxDataSeriesError)
{ {
......
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