[DE] Fix Bug 35084.

This commit is contained in:
Julia Radzhabova 2017-06-20 13:11:31 +03:00
parent d3663f11db
commit 6d3f1f88f9

View file

@ -722,6 +722,10 @@ define([
if (need_disable !== toolbar.btnNotes.isDisabled())
toolbar.btnNotes.setDisabled(need_disable);
need_disable = paragraph_locked || header_locked || in_image;
if (need_disable != toolbar.btnColumns.isDisabled())
toolbar.btnColumns.setDisabled(need_disable);
if (toolbar.listStylesAdditionalMenuItem && (frame_pr===undefined) !== toolbar.listStylesAdditionalMenuItem.isDisabled())
toolbar.listStylesAdditionalMenuItem.setDisabled(frame_pr===undefined);