diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2022-06-13 17:32:18 +0200 |
---|---|---|
committer | Gökay ŞATIR <gokaysatir@gmail.com> | 2022-06-14 10:49:24 +0300 |
commit | 29003d0d667903549e4afd546d3c1bcd51130389 (patch) | |
tree | 8b7d32f6041e1562d50090de9ba0ae8fdab2cee5 | |
parent | Bump version to 21.11.5.3 (diff) | |
download | online-29003d0d667903549e4afd546d3c1bcd51130389.tar.gz online-29003d0d667903549e4afd546d3c1bcd51130389.zip |
Allow to send view mode command when dialog is opened
We automatically send notebookbar activation command in some cases.
Allow this command when dialog is opened and don't blink.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iac068cfca49ce6dbfe241bde752a475560d3445e
-rw-r--r-- | browser/src/control/Toolbar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/src/control/Toolbar.js b/browser/src/control/Toolbar.js index eb4a08af25..8927038374 100644 --- a/browser/src/control/Toolbar.js +++ b/browser/src/control/Toolbar.js @@ -357,7 +357,7 @@ L.Map.include({ if (this.uiManager.isUIBlocked()) return; - if (this.dialog.hasOpenedDialog()) + if (this.dialog.hasOpenedDialog() && !command.startsWith('.uno:ToolbarMode')) this.dialog.blinkOpenDialog(); else if (this.isPermissionEdit() || isAllowedInReadOnly) { if (!this.messageNeedsToBeRedirected(command)) { |