Commit ac95dd7e authored by GoshaZotov's avatar GoshaZotov

fix bug 33253

parent d8118033
......@@ -1943,14 +1943,14 @@
return false;
},
isStartRangeContainIntoTableOrFilter: function(range)
isStartRangeContainIntoTableOrFilter: function(activeCell)
{
var res = null;
var worksheet = this.worksheet;
var tableParts = worksheet.TableParts;
var startRange = new Asc.Range(range.startCol, range.startRow, range.startCol, range.startRow);
var startRange = new Asc.Range(activeCell.col, activeCell.row, activeCell.col, activeCell.row);
for(var i = 0; i < tableParts.length; i++ )
{
......
......@@ -11664,7 +11664,7 @@
var activeCell = this.model.selectionRange.activeCell.clone();
var ar = this.model.selectionRange.getLast().clone();
var isStartRangeIntoFilterOrTable = t.model.autoFilters.isStartRangeContainIntoTableOrFilter(ar);
var isStartRangeIntoFilterOrTable = t.model.autoFilters.isStartRangeContainIntoTableOrFilter(activeCell);
var isApplyAutoFilter = null, isAddAutoFilter = null, cellId = null, isFromatTable = null;
if (null !== isStartRangeIntoFilterOrTable)//into autofilter or format table
{
......
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