From 4bfe40db6dba089f096334d55ed66ef148feae48 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 7 Feb 2017 12:57:54 +0300 Subject: [PATCH] [SSE] Debug adding alt.text for tables. --- .../main/app/view/TableSettingsAdvanced.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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; } },