diff --git a/apps/spreadsheeteditor/main/app/view/TableSettingsAdvanced.js b/apps/spreadsheeteditor/main/app/view/TableSettingsAdvanced.js index 28c2918f5..132555858 100644 --- a/apps/spreadsheeteditor/main/app/view/TableSettingsAdvanced.js +++ b/apps/spreadsheeteditor/main/app/view/TableSettingsAdvanced.js @@ -117,10 +117,8 @@ define([ 'text!spreadsheeteditor/main/app/template/TableSettingsAdvanced.temp getSettings: function() { if (this.isAltTitleChanged || this.isAltDescChanged) { var info = new Asc.AdvancedTableInfoSettings(); - if (this.isAltTitleChanged) - info.asc_setTitle(this.inputAltTitle.getValue()); - if (this.isAltDescChanged) - info.asc_setDescription(this.textareaAltDescription.val()); + info.asc_setTitle(this.inputAltTitle.getValue()); + info.asc_setDescription(this.textareaAltDescription.val()); return info; } },