diff --git a/apps/documenteditor/main/app/controller/Toolbar.js b/apps/documenteditor/main/app/controller/Toolbar.js index 38b1e7278..cb747531e 100644 --- a/apps/documenteditor/main/app/controller/Toolbar.js +++ b/apps/documenteditor/main/app/controller/Toolbar.js @@ -2033,14 +2033,14 @@ define([ onFootnotePrevClick: function(btn) { if (this.api) - this.api.GotoFootnotePrev(); + this.api.asc_GotoFootnote(false); Common.NotificationCenter.trigger('edit:complete', this.toolbar); }, onFootnoteNextClick: function(btn) { if (this.api) - this.api.GotoFootnoteNext(); + this.api.asc_GotoFootnote(true); Common.NotificationCenter.trigger('edit:complete', this.toolbar); }, diff --git a/apps/documenteditor/main/app/template/Toolbar.template b/apps/documenteditor/main/app/template/Toolbar.template index 3b6e4cbcd..6a71a0ac4 100644 --- a/apps/documenteditor/main/app/template/Toolbar.template +++ b/apps/documenteditor/main/app/template/Toolbar.template @@ -153,6 +153,7 @@ +
@@ -160,7 +161,7 @@ - +
@@ -191,12 +192,6 @@ -
-
-
- -
-
diff --git a/apps/documenteditor/main/app/view/NoteSettingsDialog.js b/apps/documenteditor/main/app/view/NoteSettingsDialog.js index 089f4fb4d..f32005b37 100644 --- a/apps/documenteditor/main/app/view/NoteSettingsDialog.js +++ b/apps/documenteditor/main/app/view/NoteSettingsDialog.js @@ -59,66 +59,62 @@ define([ title: this.textTitle, template: [ '
', - '
', + '
', '
', - '', + '
', '', - '', '', '', - '', '', '', '', - '', '', '', - '', '', '', '', + '', + '', '', - '', - '', - '', '', '', - '', '', '', - '', '', '', '', - '', '', '
', + '', '', '
', - '', - // '
', - '
', - '
', + '', + '
', '
', - '
', + '
', + '
', '
', + '', '', '
', - '', - '
', + '
', + '', + '
', + '
','
', + '', + '
', + '
', '
', - '', - '
', - '
', '', - '
', + '
', '
', + '', '', '
', '
', - '
', + '
', + '
', '
', - '', - '', - '
', + '', + '
', '
', @@ -150,7 +146,7 @@ define([ this.cmbFootnote = new Common.UI.ComboBox({ el: $('#note-settings-combo-footnote'), cls: 'input-group-nr', - menuStyle: 'min-width: 140px;', + menuStyle: 'min-width: 150px;', editable: false, data: [ { displayValue: this.textPageBottom, value: Asc.c_oAscFootnotePos.section_footnote_PosPageBottom }, @@ -162,7 +158,7 @@ define([ this.cmbFormat = new Common.UI.ComboBox({ el: $('#note-settings-combo-format'), cls: 'input-group-nr', - menuStyle: 'min-width: 100px;', + menuStyle: 'min-width: 150px;', editable: false, data: [ { displayValue: '1, 2, 3,...', value: 1, maskExp: /[0-9]/, defValue: 1 }, @@ -179,7 +175,7 @@ define([ this.spnStart = new Common.UI.CustomSpinner({ el: $('#note-settings-spin-start'), step: 1, - width: 100, + width: 85, defaultUnit : "", value: 1, maxValue: 16383, @@ -191,7 +187,7 @@ define([ this.cmbNumbering = new Common.UI.ComboBox({ el: $('#note-settings-combo-numbering'), cls: 'input-group-nr', - menuStyle: 'min-width: 140px;', + menuStyle: 'min-width: 150px;', editable: false, data: [ { displayValue: this.textContinue, value: Asc.c_oAscFootnoteRestart.section_footnote_RestartContinuous }, @@ -206,7 +202,7 @@ define([ allowBlank : true, validateOnChange: true, validateOnBlur: false, - style : 'width: 100px; vertical-align: middle;', + style : 'width: 85px; vertical-align: middle;', value : '' }).on ('changing', function (input, value) { me.cmbFormat.setDisabled(value.length>0); @@ -216,7 +212,7 @@ define([ this.cmbApply = new Common.UI.ComboBox({ el: $('#note-settings-combo-apply'), cls: 'input-group-nr', - menuStyle: 'min-width: 140px;', + menuStyle: 'min-width: 150px;', editable: false, data: [ { displayValue: this.textDocument, value: Asc.section_footnote_RestartContinuous }, diff --git a/apps/documenteditor/main/resources/img/toolbar-menu.png b/apps/documenteditor/main/resources/img/toolbar-menu.png index 4a3467f6c..91fc2ad34 100644 Binary files a/apps/documenteditor/main/resources/img/toolbar-menu.png and b/apps/documenteditor/main/resources/img/toolbar-menu.png differ diff --git a/apps/documenteditor/main/resources/img/toolbar-menu@2x.png b/apps/documenteditor/main/resources/img/toolbar-menu@2x.png index 018302470..ee9d5f5db 100644 Binary files a/apps/documenteditor/main/resources/img/toolbar-menu@2x.png and b/apps/documenteditor/main/resources/img/toolbar-menu@2x.png differ diff --git a/apps/documenteditor/main/resources/less/toolbar.less b/apps/documenteditor/main/resources/less/toolbar.less index 55a28fad9..44cda7f91 100644 --- a/apps/documenteditor/main/resources/less/toolbar.less +++ b/apps/documenteditor/main/resources/less/toolbar.less @@ -333,7 +333,7 @@ .button-normal-icon(btn-zoomout, 58, @toolbar-icon-size); .button-normal-icon(btn-columns, 82, @toolbar-icon-size); .button-normal-icon(btn-pagemargins, 83, @toolbar-icon-size); -.button-normal-icon(btn-notes, 83, @toolbar-icon-size); +.button-normal-icon(btn-notes, 85, @toolbar-icon-size); .button-normal-icon(mmerge-next, 71, @toolbar-icon-size); .button-normal-icon(mmerge-last, 72, @toolbar-icon-size);