[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;
|
me.isAltDescChanged = true;
|
||||||
});
|
});
|
||||||
this.btnsCategory[1].setVisible(false);
|
|
||||||
|
|
||||||
this.afterRender();
|
this.afterRender();
|
||||||
},
|
},
|
||||||
|
@ -327,10 +326,10 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem
|
||||||
|
|
||||||
getSettings: function() {
|
getSettings: function() {
|
||||||
if (this.isAltTitleChanged)
|
if (this.isAltTitleChanged)
|
||||||
this._changedProps.asc_putTitle(this.inputAltTitle.getValue());
|
this._changedProps.put_TableCaption(this.inputAltTitle.getValue());
|
||||||
|
|
||||||
if (this.isAltDescChanged)
|
if (this.isAltDescChanged)
|
||||||
this._changedProps.asc_putDescription(this.textareaAltDescription.val());
|
this._changedProps.put_TableDescription(this.textareaAltDescription.val());
|
||||||
|
|
||||||
return { tableProps: this._changedProps };
|
return { tableProps: this._changedProps };
|
||||||
},
|
},
|
||||||
|
@ -374,11 +373,11 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem
|
||||||
|
|
||||||
this.fillMargins(this.CellMargins.Flag);
|
this.fillMargins(this.CellMargins.Flag);
|
||||||
|
|
||||||
// var value = props.asc_getTitle();
|
var value = props.get_TableCaption();
|
||||||
// this.inputAltTitle.setValue(value ? value : '');
|
this.inputAltTitle.setValue(value ? value : '');
|
||||||
//
|
|
||||||
// value = props.asc_getDescription();
|
value = props.get_TableDescription();
|
||||||
// this.textareaAltDescription.val(value ? value : '');
|
this.textareaAltDescription.val(value ? value : '');
|
||||||
|
|
||||||
this._changedProps = new Asc.CTableProp();
|
this._changedProps = new Asc.CTableProp();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue