Commit f6295cd4 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

рефакторинг

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57623 954022d7-b5bf-4e40-9824-e11837661b57
parent e36877fd
......@@ -6446,10 +6446,11 @@
//null - disable, true - pressed button, false - unpressed button
var tablePartsOptions = this.autoFilters.searchRangeInTableParts(activeCell);
var checkApplyFilterOrSort;
cell_info.isFormatTable = (null !== tablePartsOptions);
if(tablePartsOptions === null)
{
var checkApplyFilterOrSort = this.autoFilters.checkApplyFilterOrSort();
checkApplyFilterOrSort = this.autoFilters.checkApplyFilterOrSort();
cell_info.isAutoFilter = checkApplyFilterOrSort.isAutoFilter;
cell_info.clearFilter = checkApplyFilterOrSort.isFilterColumns;
}
......@@ -6457,7 +6458,7 @@
{
if(tablePartsOptions.tableRange.containsRange(activeCell))
{
var checkApplyFilterOrSort = this.autoFilters.checkApplyFilterOrSort(tablePartsOptions.id);
checkApplyFilterOrSort = this.autoFilters.checkApplyFilterOrSort(tablePartsOptions.id);
cell_info.isAutoFilter = checkApplyFilterOrSort.isAutoFilter;
cell_info.clearFilter = checkApplyFilterOrSort.isFilterColumns;
}
......
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