diff --git a/apps/presentationeditor/main/app/view/TableSettingsAdvanced.js b/apps/presentationeditor/main/app/view/TableSettingsAdvanced.js index dc04c6e87..a766177dd 100644 --- a/apps/presentationeditor/main/app/view/TableSettingsAdvanced.js +++ b/apps/presentationeditor/main/app/view/TableSettingsAdvanced.js @@ -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(); }