From 8175061cc1e8a5f2104683d5c798b1c45b5cd159 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 20 Dec 2016 16:12:03 +0300 Subject: [PATCH] [DE] Add sdk constants for footnotes. --- .../main/app/view/NoteSettingsDialog.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/documenteditor/main/app/view/NoteSettingsDialog.js b/apps/documenteditor/main/app/view/NoteSettingsDialog.js index 002c8a69b..195294861 100644 --- a/apps/documenteditor/main/app/view/NoteSettingsDialog.js +++ b/apps/documenteditor/main/app/view/NoteSettingsDialog.js @@ -149,11 +149,11 @@ define([ menuStyle: 'min-width: 140px;', editable: false, data: [ - { displayValue: this.textPageBottom, value: Asc.section_footnote_PosPageBottom }, - { displayValue: this.textTextBottom, value: Asc.section_footnote_PosBeneathText } + { displayValue: this.textPageBottom, value: Asc.c_oAscFootnotePos.section_footnote_PosPageBottom }, + { displayValue: this.textTextBottom, value: Asc.c_oAscFootnotePos.section_footnote_PosBeneathText } ] }); - this.cmbFootnote.setValue(Asc.section_footnote_PosPageBottom); + this.cmbFootnote.setValue(Asc.c_oAscFootnotePos.section_footnote_PosPageBottom); this.cmbFormat = new Common.UI.ComboBox({ el: $('#note-settings-combo-format'), @@ -205,12 +205,12 @@ define([ menuStyle: 'min-width: 140px;', editable: false, data: [ - { displayValue: this.textContinue, value: Asc.section_footnote_RestartContinuous }, - { displayValue: this.textEachSection, value: Asc.section_footnote_RestartEachSect }, - { displayValue: this.textEachPage, value: Asc.section_footnote_RestartEachPage } + { displayValue: this.textContinue, value: Asc.c_oAscFootnoteRestart.section_footnote_RestartContinuous }, + { displayValue: this.textEachSection, value: Asc.c_oAscFootnoteRestart.section_footnote_RestartEachSect }, + { displayValue: this.textEachPage, value: Asc.c_oAscFootnoteRestart.section_footnote_RestartEachPage } ] }); - this.cmbNumbering.setValue(Asc.section_footnote_RestartContinuous); + this.cmbNumbering.setValue(Asc.c_oAscFootnoteRestart.section_footnote_RestartContinuous); this.cmbApply = new Common.UI.ComboBox({ el: $('#note-settings-combo-apply'),