[PE] Add alternative text for tables.
This commit is contained in:
parent
423c39d110
commit
b7b7787222
|
@ -311,7 +311,6 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem
|
|||
}
|
||||
me.isAltDescChanged = true;
|
||||
});
|
||||
this.btnsCategory[1].setVisible(false);
|
||||
|
||||
this.afterRender();
|
||||
},
|
||||
|
@ -327,10 +326,10 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem
|
|||
|
||||
getSettings: function() {
|
||||
if (this.isAltTitleChanged)
|
||||
this._changedProps.asc_putTitle(this.inputAltTitle.getValue());
|
||||
this._changedProps.put_TableCaption(this.inputAltTitle.getValue());
|
||||
|
||||
if (this.isAltDescChanged)
|
||||
this._changedProps.asc_putDescription(this.textareaAltDescription.val());
|
||||
this._changedProps.put_TableDescription(this.textareaAltDescription.val());
|
||||
|
||||
return { tableProps: this._changedProps };
|
||||
},
|
||||
|
@ -374,11 +373,11 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem
|
|||
|
||||
this.fillMargins(this.CellMargins.Flag);
|
||||
|
||||
// var value = props.asc_getTitle();
|
||||
// this.inputAltTitle.setValue(value ? value : '');
|
||||
//
|
||||
// value = props.asc_getDescription();
|
||||
// this.textareaAltDescription.val(value ? value : '');
|
||||
var value = props.get_TableCaption();
|
||||
this.inputAltTitle.setValue(value ? value : '');
|
||||
|
||||
value = props.get_TableDescription();
|
||||
this.textareaAltDescription.val(value ? value : '');
|
||||
|
||||
this._changedProps = new Asc.CTableProp();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue