From d4f57fd7ff659b7b9fa992a2e6d051aeda3248a3 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 20 Jun 2016 11:03:21 +0300 Subject: [PATCH] [SSE] fix bug 32602. --- apps/spreadsheeteditor/main/app/view/TableSettings.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/TableSettings.js b/apps/spreadsheeteditor/main/app/view/TableSettings.js index ea051baa9..bb81c949a 100644 --- a/apps/spreadsheeteditor/main/app/view/TableSettings.js +++ b/apps/spreadsheeteditor/main/app/view/TableSettings.js @@ -186,8 +186,7 @@ define([ onTableTemplateSelect: function(combo, record){ if (this.api && !this._noApply) { - if (this._state.TemplateName) - this.api.asc_changeAutoFilter(this._state.TableName, Asc.c_oAscChangeFilterOptions.style, record.get('name')); + this.api.asc_changeAutoFilter(this._state.TableName, Asc.c_oAscChangeFilterOptions.style, record.get('name')); } Common.NotificationCenter.trigger('edit:complete', this); },