Commit 5f99081e authored by Julia Radzhabova's avatar Julia Radzhabova

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

parent 5461be6b
......@@ -708,6 +708,10 @@ define([
if (in_equation !== toolbar.btnEditHeader.isDisabled())
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment