[SSE] Add alternative text for tables.
This commit is contained in:
parent
1eae40c65b
commit
e441f92b31
|
@ -73,12 +73,12 @@
|
|||
<div id="table-btn-edit" style="display: inline-block; float:right;"></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="hidden">
|
||||
<tr>
|
||||
<td class="padding-small" colspan=2>
|
||||
<div class="separator horizontal"></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="hidden">
|
||||
<tr>
|
||||
<td align="center" colspan=2>
|
||||
<label class="link" id="table-advanced-link"><%= scope.textAdvanced %></label>
|
||||
</td>
|
||||
|
|
|
@ -304,7 +304,10 @@ define([
|
|||
handler: function(result, value) {
|
||||
if (result == 'ok') {
|
||||
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
|
|||
|
||||
_setDefaults: function(props) {
|
||||
if (props ){
|
||||
// var value = props.asc_getTitle();
|
||||
// this.inputAltTitle.setValue(value ? value : '');
|
||||
//
|
||||
// value = props.asc_getDescription();
|
||||
// this.textareaAltDescription.val(value ? value : '');
|
||||
var value = props.asc_getTitle();
|
||||
this.inputAltTitle.setValue(value ? value : '');
|
||||
|
||||
value = props.asc_getDescription();
|
||||
this.textareaAltDescription.val(value ? value : '');
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue