Commit e441f92b authored by Julia Radzhabova's avatar Julia Radzhabova

[SSE] Add alternative text for tables.

parent 1eae40c6
...@@ -73,12 +73,12 @@ ...@@ -73,12 +73,12 @@
<div id="table-btn-edit" style="display: inline-block; float:right;"></div> <div id="table-btn-edit" style="display: inline-block; float:right;"></div>
</td> </td>
</tr> </tr>
<tr class="hidden"> <tr>
<td class="padding-small" colspan=2> <td class="padding-small" colspan=2>
<div class="separator horizontal"></div> <div class="separator horizontal"></div>
</td> </td>
</tr> </tr>
<tr class="hidden"> <tr>
<td align="center" colspan=2> <td align="center" colspan=2>
<label class="link" id="table-advanced-link"><%= scope.textAdvanced %></label> <label class="link" id="table-advanced-link"><%= scope.textAdvanced %></label>
</td> </td>
......
...@@ -304,7 +304,10 @@ define([ ...@@ -304,7 +304,10 @@ define([
handler: function(result, value) { handler: function(result, value) {
if (result == 'ok') { if (result == 'ok') {
if (me.api) { if (me.api) {
// me.api.asc_setGraphicObjectProps(value.tableProps); if (value.tableProps.altTitle)
me.api.asc_changeFormatTableInfo(me._state.TableName, Asc.c_oAscChangeTableStyleInfo.title, value.tableProps.altTitle);
if (value.tableProps.altDescription)
me.api.asc_changeFormatTableInfo(me._state.TableName, Asc.c_oAscChangeTableStyleInfo.description , value.tableProps.altDescription);
} }
} }
......
...@@ -106,11 +106,11 @@ define([ 'text!spreadsheeteditor/main/app/template/TableSettingsAdvanced.temp ...@@ -106,11 +106,11 @@ define([ 'text!spreadsheeteditor/main/app/template/TableSettingsAdvanced.temp
_setDefaults: function(props) { _setDefaults: function(props) {
if (props ){ if (props ){
// var value = props.asc_getTitle(); var value = props.asc_getTitle();
// this.inputAltTitle.setValue(value ? value : ''); this.inputAltTitle.setValue(value ? value : '');
//
// value = props.asc_getDescription(); value = props.asc_getDescription();
// this.textareaAltDescription.val(value ? value : ''); this.textareaAltDescription.val(value ? value : '');
} }
}, },
......
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