From ea9c74f08f7ad11c5194df96ccf926242c518600 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 12 Apr 2017 11:07:53 +0300 Subject: [PATCH] [DE] Fix Bug 34403. --- apps/documenteditor/main/app/controller/Toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/controller/Toolbar.js b/apps/documenteditor/main/app/controller/Toolbar.js index 66517c0e0..27e2d68f0 100644 --- a/apps/documenteditor/main/app/controller/Toolbar.js +++ b/apps/documenteditor/main/app/controller/Toolbar.js @@ -677,7 +677,7 @@ define([ need_disable = toolbar.mnuPageNumCurrentPos.isDisabled() && toolbar.mnuPageNumberPosPicker.isDisabled(); toolbar.mnuInsertPageNum.setDisabled(need_disable); - need_disable = paragraph_locked || header_locked || in_header || in_equation && !btn_eq_state; + need_disable = paragraph_locked || header_locked || in_header || in_equation && !btn_eq_state || this.api.asc_IsCursorInFootnote(); toolbar.btnsPageBreak.disable(need_disable); need_disable = paragraph_locked || header_locked || !can_add_image || in_equation;