[DE] Fix Bug 34343. Disable inserting footnotes to shapes, charts, equations, header/footer.

This commit is contained in:
Julia Radzhabova 2017-03-14 14:28:57 +03:00
parent d2d9b2b594
commit c39e55d631

View file

@ -704,6 +704,10 @@ define([
toolbar.btnEditHeader.setDisabled(in_equation);
need_disable = paragraph_locked || in_equation || in_image || in_header;
if (need_disable !== toolbar.btnNotes.isDisabled())
toolbar.btnNotes.setDisabled(need_disable);
if (toolbar.listStylesAdditionalMenuItem && (frame_pr===undefined) !== toolbar.listStylesAdditionalMenuItem.isDisabled())
toolbar.listStylesAdditionalMenuItem.setDisabled(frame_pr===undefined);