[Libreoffice-commits] online.git: loleaflet/src

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 12 11:27:58 UTC 2019


 loleaflet/src/control/Control.Toolbar.js |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 6fe5ac162c76a252fa385cea1418f102007d64a4
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Thu Dec 12 12:27:01 2019 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Thu Dec 12 12:27:03 2019 +0100

    jsdialog: double Sidebar call in Inplace mode
    
    To activate Sidebar in Chart activated context.
    
    Change-Id: I4579f01e45d0b56bdee32f649498820c404cd5a9

diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js
index a068c3af9..7c5586c3f 100644
--- a/loleaflet/src/control/Control.Toolbar.js
+++ b/loleaflet/src/control/Control.Toolbar.js
@@ -349,6 +349,8 @@ function onClick(e, id, item, subItem) {
 			if (!map._sidebarVisible) {
 				map._sidebarVisible = true;
 				map.sendUnoCommand('.uno:Sidebar');
+				if (map.hasObjectFocusDarkOverlay())
+					map.sendUnoCommand('.uno:Sidebar');
 			} else {
 				// As the sidebar LOKWindowId can and does change,
 				// esp. between chart and other elements, we apparently


More information about the Libreoffice-commits mailing list