diff --git a/apps/documenteditor/main/app/view/TableSettings.js b/apps/documenteditor/main/app/view/TableSettings.js index fc5ec0b170..033b01d73e 100644 --- a/apps/documenteditor/main/app/view/TableSettings.js +++ b/apps/documenteditor/main/app/view/TableSettings.js @@ -218,7 +218,7 @@ define([ el: $('#table-combo-border-size'), style: "width: 93px;" }); - this.BorderSize = this.cmbBorderSize.store.at(2).get('value'); + this.BorderSize = this.cmbBorderSize.store.at(1).get('value'); this.cmbBorderSize.setValue(this.BorderSize); this.cmbBorderSize.on('selected', _.bind(this.onBorderSizeSelect, this)); this.lockedControls.push(this.cmbBorderSize); diff --git a/apps/documenteditor/main/app/view/TableSettingsAdvanced.js b/apps/documenteditor/main/app/view/TableSettingsAdvanced.js index 43ecc627ab..6f655f5b19 100644 --- a/apps/documenteditor/main/app/view/TableSettingsAdvanced.js +++ b/apps/documenteditor/main/app/view/TableSettingsAdvanced.js @@ -869,7 +869,7 @@ define([ 'text!documenteditor/main/app/template/TableSettingsAdvanced.templat el: $('#tableadv-combo-border-size'), style: "width: 93px;" }); - var rec = this.cmbBorderSize.store.at(2); + var rec = this.cmbBorderSize.store.at(1); this.BorderSize = {ptValue: rec.get('value'), pxValue: rec.get('pxValue')}; this.cmbBorderSize.setValue(this.BorderSize.ptValue); this.cmbBorderSize.on('selected', _.bind(this.onBorderSizeSelect, this));