[SSE] Debug adding alt.text for tables.

This commit is contained in:
Julia Radzhabova 2017-02-07 12:57:54 +03:00
parent e258200a94
commit 4bfe40db6d

View file

@ -117,9 +117,7 @@ define([ 'text!spreadsheeteditor/main/app/template/TableSettingsAdvanced.temp
getSettings: function() { getSettings: function() {
if (this.isAltTitleChanged || this.isAltDescChanged) { if (this.isAltTitleChanged || this.isAltDescChanged) {
var info = new Asc.AdvancedTableInfoSettings(); var info = new Asc.AdvancedTableInfoSettings();
if (this.isAltTitleChanged)
info.asc_setTitle(this.inputAltTitle.getValue()); info.asc_setTitle(this.inputAltTitle.getValue());
if (this.isAltDescChanged)
info.asc_setDescription(this.textareaAltDescription.val()); info.asc_setDescription(this.textareaAltDescription.val());
return info; return info;
} }