diff --git a/apps/spreadsheeteditor/main/app/template/TableSettings.template b/apps/spreadsheeteditor/main/app/template/TableSettings.template
index 0e5a32083..76d313084 100644
--- a/apps/spreadsheeteditor/main/app/template/TableSettings.template
+++ b/apps/spreadsheeteditor/main/app/template/TableSettings.template
@@ -73,12 +73,12 @@
-
+
|
-
+
|
diff --git a/apps/spreadsheeteditor/main/app/view/TableSettings.js b/apps/spreadsheeteditor/main/app/view/TableSettings.js
index f9430b7e9..8bfa6b075 100644
--- a/apps/spreadsheeteditor/main/app/view/TableSettings.js
+++ b/apps/spreadsheeteditor/main/app/view/TableSettings.js
@@ -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);
}
}
diff --git a/apps/spreadsheeteditor/main/app/view/TableSettingsAdvanced.js b/apps/spreadsheeteditor/main/app/view/TableSettingsAdvanced.js
index b49a875ee..1a7f58346 100644
--- a/apps/spreadsheeteditor/main/app/view/TableSettingsAdvanced.js
+++ b/apps/spreadsheeteditor/main/app/view/TableSettingsAdvanced.js
@@ -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 : '');
}
},